Commit Graph

13 Commits

Author SHA1 Message Date
Didactic Drunk
8db8b410a2 Specs: Test Chalsa#random* 2022-05-22 18:32:11 -07:00
Didactic Drunk
f036295aa3 Sign:
Add `.copy_from` `.move_from` instead of *erase*
  Prefer `.random`
  Deprecate old `.initialize`
2022-04-28 12:17:11 -07:00
Didactic Drunk
24ffdce5c3 Experimental Sign combined mode 2022-04-27 01:04:11 -07:00
Didactic Drunk
0e1b64b1bf Partial internal switch to Crypto::Secret API 2021-06-16 14:50:26 -07:00
Didactic Drunk
da188875c4 Generate Sodium::Sign::SecretKey#seed. 2020-07-18 22:49:13 -07:00
Didactic Drunk
f0213b88c8 Expose Sodium::Sign::SecretKey#seed. 2020-07-18 22:35:27 -07:00
Didactic Drunk
c998625056 Continue #8 2020-07-14 15:52:06 -07:00
Didactic Drunk
3d700b6157 fixes #8. 2020-07-10 17:06:53 -07:00
Didactic Drunk
8ca9dc6ff9 Add Sodium::Sign::SecretKey detached test vectors. 2019-08-06 02:20:47 -07:00
Didactic Drunk
d1c8829fcf API changed all Key classes .bytes to .to_slice
Switched most custom Wipe implementation to libsodium guarded memory.
2019-07-03 18:04:13 -07:00
Didactic Drunk
162cd72b0c Add seed support to CryptoBox and Sign.
Wiping now supports multiple variables by Annotation.
2019-06-29 17:21:00 -07:00
Didactic Drunk
41a55a9593 Sodum::CryptoBox::SecretKey may derive keys from a seed.
Sodum::Sign::SecretKey may derive keys from a seed.
Sodum::CryptoBox::Pair renamed to Sodum::CryptoBox::Box
2019-06-29 12:44:47 -07:00
Didactic Drunk
a4b1b8071c Rename project from "cox" to "sodium.cr". 2019-06-28 16:25:05 -07:00