Commit Graph

19 Commits (a02c54f4a70dd6ad5635b147d9669308124f146a)

Author SHA1 Message Date
Didactic Drunk a02c54f4a7 Breaking API changes:
SecretKey renamed to CryptoBox::SecretKey
  PublicKey renamed to CryptoBox::PublicKey
  KeyPair removed.  Use CryptoBox::SecretKey instead.

  Cox.encrypt was removed.  Use `secret_key.pair(...).encrypt`
  Cox.decrypt was removed.  Use `secret_key.pair(...).decrypt`
2019-06-28 04:32:16 -07:00
Didactic Drunk 0eb4a8991a Breaking API changes:
SignSecretKey rename to Sign::SecretKey
  SignPublicKey rename to Sign::PublicKey
  SignKeyPair removed.  Use Sign::SecretKey instead.

  Cox.sign_detached moved to Sign::SecretKey#sign_detached
  Cox.verify_detached moved to Sign::PublicKey#verify_detached

  verify_detached raises on failure instead of using a return value.

  More validation of data sizes.
2019-06-28 03:30:33 -07:00
Didactic Drunk da8f97ae47 More documentation. 2019-06-28 02:18:23 -07:00
Didactic Drunk be5b250a22 Formatting 2019-06-27 17:20:02 -07:00
Didactic Drunk e0ea31bd2e Swap Kdf subkey_size and subkey_id arguments. 2019-06-27 16:52:45 -07:00
Didactic Drunk 7292777bdb Documentation [skip ci] 2019-06-27 16:49:56 -07:00
Didactic Drunk 346d1ea47b Add Chalsa stream ciphers. 2019-06-27 13:52:09 -07:00
Didactic Drunk 2c3ddf6f0d Enhance pwhash_selector example and add table output [skip ci] 2019-06-27 09:54:25 -07:00
Didactic Drunk 3a078523f5 Documentation additions [ci skip] 2019-06-27 06:12:20 -07:00
Didactic Drunk d907317fd4 Switch maintainer 2019-06-25 19:25:42 -07:00
Didactic Drunk 325bed5414 Add blake2b benchmark and examples/pwhash_selector.cr 2019-06-25 19:24:21 -07:00
Didactic Drunk 7ea8ce856f Documentation 2019-06-19 02:03:26 -07:00
Didactic Drunk a358929e62 Add libsodium kdf. 2019-05-28 14:31:31 -07:00
Andrew Hamon 2d0f329774
Merge pull request #2 from dorkrawk/master
Add libsodium Public-key Signature Functionality
2018-02-16 16:14:43 -05:00
Dave 59a58d9c9a update README to reflect new sign/verify method names 2018-02-13 20:23:34 -08:00
Taylor Finnell 243748cb1f add travis badge to readme 2018-02-13 21:05:33 -05:00
Dave e65a47a4ac updated Usage in README and cleaned up libsodium bindings 2018-02-11 23:18:45 -08:00
Andrew Hamon 66ff4d8bc4 Update README.md 2017-07-11 22:30:58 -05:00
Andrew Hamon 2a69e4f15c Initial commit 2017-07-11 22:15:35 -05:00