Commit Graph

12 Commits

Author SHA1 Message Date
Didactic Drunk
8db8b410a2 Specs: Test Chalsa#random* 2022-05-22 18:32:11 -07:00
Didactic Drunk
475ce2e5c8 Chalsa:
Prefer .random over .new
  Add #decrypt_secret
  Add #decrypt_string
  Optimize #decrypt*
2022-05-03 13:45:38 -07:00
Didactic Drunk
bd5e89dcd4 Internal switch to Crypto::Secret 2021-06-16 18:19:30 -07:00
Didactic Drunk
0e1b64b1bf Partial internal switch to Crypto::Secret API 2021-06-16 14:50:26 -07:00
Didactic Drunk
ea4fc4e9a6 Fix KEY_SIZE and NONCE_SIZE for non-ietf salsa/chacha ciphers.
Allow dupping various classes.
2019-11-25 06:44:33 -08:00
Didactic Drunk
030b90c2ff XChaCha20-Poly1305-IETF Test vectors. 2019-09-14 04:22:05 -07:00
Didactic Drunk
d0f3100689 Sodium::Cipher::Aead::XChaCha20Poly1305Ietf Always use SecureBuffer. Rename. 2019-09-13 22:39:29 -07:00
Didactic Drunk
964fe714e9 Sodium::Cipher::Aead::Xchacha20Poly1305Ietf Add combined mode. 2019-09-13 03:16:04 -07:00
Didactic Drunk
192044b27a Sodium::Cipher::Aead::Xchacha20Poly1305Ietf Add class and basic specs. 2019-09-13 03:16:00 -07:00
Didactic Drunk
96b215cf54 Add Sodium::Cipher::SecretStream 2019-07-08 23:39:00 -07:00
Didactic Drunk
65ad5987d4 SecureBuffer for Chalsa. 2019-07-08 16:08:39 -07:00
Didactic Drunk
a4b1b8071c Rename project from "cox" to "sodium.cr". 2019-06-28 16:25:05 -07:00