A wrapper around libsodium
To use this package, run the following command in your project's root directory:
Put the following dependency into your project's dependences section:
A D wrapper around libsodium for simple encryption, signing, and other awesome cryptoness. This project is currently in heavy development and I promise to break it often (until a 1.0 like release).
Shaker provides two main avenues for using it, the first being a lightweight wrapper over the basics of libsodium allowing you to use it in a very object-oriented way, not present in the original libsodium library. However, for those that have a more custom use case or want to build out object-oriented primitives themselves, Shaker also exports all of the D-compatibile functions directly from libsodium.
D-like OO Usage
auto alice = new BoxKeyPair; auto bob = new BoxKeyPair; EncryptedBoxMessage message = alice.encrypt("Hey Bob, I think you're sexy!", bob); bob.decrypt(message, alice); // "Hey Bob, I think you're sexy!"
auto alice = new SignKeyPair; auto bob = new SignKeyPair; SignedMessage message = alice.sign("This is definitely alice talking!"); message.signedBy(bob); // true
- Registered by Andrei Z
- 0.0.8 released 6 years ago
0.0.8 2017-Feb-13 0.0.7 2016-Feb-20 0.0.6 2014-Dec-27 0.0.5 2014-Dec-26 0.0.4 2014-Dec-26
- Download Stats:
0 downloads today
0 downloads this week
0 downloads this month
1165 downloads total
- Short URL: