Commit graph

6 commits

Author SHA1 Message Date
Didactic Drunk
a4b1b8071c Rename project from "cox" to "sodium.cr". 2019-06-28 16:25:05 -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
a0f15b7657 Switch .to_unsafe to .to_slice
Remove use of .pointer
2019-06-27 17:42:49 -07:00
Didactic Drunk
1e0de420ad Change *_LENGTH and *_BYTES constants to *_SIZE. 2019-06-25 09:29:16 -07:00
Taylor Finnell
7f9af847b9 fixes for 0.24.1 2018-02-13 19:39:15 -05:00
Andrew Hamon
2a69e4f15c Initial commit 2017-07-11 22:15:35 -05:00