Commit Graph

12 Commits (8e939b951823a9efd625f5309cc4b1dc9c519b4c)

Author SHA1 Message Date
Didactic Drunk 8e939b9518 API change. Cox::Blake2b renamed to Cox::Digest::Blake2b 2019-06-28 13:58:55 -07:00
Didactic Drunk 848cf3e3e2 Breaking API changes:
SecretKey renamed to SecretBox.

Start of automatic wiping.
Documentation additions and corrections.
2019-06-28 05:20:56 -07:00
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 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 346d1ea47b Add Chalsa stream ciphers. 2019-06-27 13:52:09 -07:00
Didactic Drunk 8da7fb47ec PWhash add key derivation. 2019-06-27 08:03:33 -07:00
Didactic Drunk 6670b22ca1 Add Blake2b. 2019-05-29 13:32:43 -07:00
Didactic Drunk b69f55456b Add secret key encrypt_easy. 2019-05-28 16:15:57 -07:00
Didactic Drunk a26800765e Add libsodium password hashing 2019-05-28 16:15:13 -07:00
Didactic Drunk a358929e62 Add libsodium kdf. 2019-05-28 14:31:31 -07:00