Didactic Drunk
6805abd977
Fix Sodium::Password::Key::Create starting memlimit
2021-06-04 07:56:10 -07:00
Didactic Drunk
35fcda70aa
SecureBuffer: raise when out of memory
2021-06-02 20:25:28 -07:00
Didactic Drunk
4da95b6398
Document SecureBuffer thread safety
2021-05-28 01:26:27 -07:00
Didactic Drunk
38bd985103
Keep identical state in Sodium::SecureBuffer#dup
2021-05-16 22:42:49 -07:00
Didactic Drunk
3124048a43
Add blake2b_hash to targets
2021-04-25 18:20:42 -07:00
Didactic Drunk
b271192465
Document recommended KDF use
2021-03-26 13:56:26 -07:00
Didactic Drunk
1bb746c888
Add KDF.xchacha20poly1305_ietf
2021-03-23 15:52:15 -07:00
Didactic Drunk
0187d06e96
SecureBuffer#wipe with block
2021-03-22 10:23:13 -07:00
Didactic Drunk
b79d15c039
Documentation
2021-03-18 19:46:39 -07:00
Didactic Drunk
497af4b401
Formatting changes.
2021-03-18 11:28:32 -07:00
Didactic Drunk
f9de09f2d7
crystal backwards compatibility
2021-03-18 11:11:19 -07:00
Ferhat Ziba
e68a316e8a
upgrade for crystal 0.36.0
2021-01-29 10:42:16 +01: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
87d1c12f5b
Release 1.2.0
2020-06-28 16:34:24 -07:00
Didactic Drunk
8134714804
Sodium::Digest::Blake2b Log.warn on small key size.
2020-06-28 16:32:52 -07:00
Didactic Drunk
f1a225b03b
Sodium::Digest::Blake2b Add #hexfinal(dst).
...
Better specs.
2020-06-28 16:30:17 -07:00
Didactic Drunk
a8f716de09
Crystal <= 0.34 backport final
methods from crystal 0.35.
...
Crystal = 0.35 use new Digest::Base interface.
Crystal > 0.35 futureport `hexfinal` method.
2020-05-18 23:13:50 -07:00
Didactic Drunk
9a164a0be0
Add Ed25519 and Ristretto c functions.
2020-05-10 14:14:52 -07:00
Didactic Drunk
2c635f529d
Remove XChaCha16.
2020-05-10 09:49:06 -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
d7f5b6e717
Release 1.1.1
...
Fix Crystal 0.31 warnings.
2019-11-10 19:12:59 -08:00
Didactic Drunk
61191d96a6
Fix Crystal 0.31 warnings.
2019-11-10 19:07:57 -08:00
Didactic Drunk
59d8d543b2
Fix Crystal 0.31 warnings.
2019-10-28 14:12:03 -07:00
Didactic Drunk
f766db7e9e
Sodium::SecureBuffer Fix copying noaccess SecureBuffer's.
2019-09-28 08:58:25 -07:00
Didactic Drunk
1e240f70b6
Make Sodium::SecretBox#key public.
2019-09-23 05:15:53 -07:00
Didactic Drunk
551d59865c
Release 1.1.0
...
Sodium::Cipher::Aead::Xchacha20Poly1305Ietf
New recommended AEAD algorithm.
Sodium::Password
Create keys based on a time cost.
Hashing and Key derivation split in to separate classes.
Sodium::*::PublicKey
JSON and Yaml converters.
Sodium::Cipher::Chalsa
Add #random_bytes for use as a CSPRNG.
Sodium::Nonce
Reuse detection.
Sodium::SecureBuffer
State transitions with exceptions instead of crashes.
Sodium::Kdf
Use SecureBuffer to keep key unreadable until used.
SecureBuffer uniformly used in most key holding classes with erase param.
More documentation.
More benchmarks.
More specs.
2019-09-17 04:32:13 -07:00
Didactic Drunk
194ed5f4ef
Add Documentation.
2019-09-17 04:31:39 -07:00
Didactic Drunk
3c345f7be8
Fix examples.
2019-09-16 02:35:38 -07:00
Didactic Drunk
b4fe9ef1c3
Split Sodium::Pwhash in to Sodium::Password::Hash and Sodium::Password::Key.
2019-09-16 02:21:37 -07:00
Didactic Drunk
fbb7e9434a
Sodium::CryptoBox::PublicKey make #encrypt identical to SecretBox#encrypt.
2019-09-14 06:34:50 -07:00
Didactic Drunk
8aea82b296
Add Sodium::CryptoBox::SecretKey#decrypt_string
...
Add Sodium::SecretBox#decrypt_string
Add Documentation.
2019-09-14 06:05:13 -07:00
Didactic Drunk
8572ba65c8
Documentation.
2019-09-14 04:47:57 -07:00
Didactic Drunk
d0f3100689
Sodium::Cipher::Aead::XChaCha20Poly1305Ietf Always use SecureBuffer. Rename.
2019-09-13 22:39:29 -07:00
Didactic Drunk
b212f6bacd
Fix Sodium::SecureBuffer state transitions.
2019-09-13 21:33:21 -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
c3a9fe178a
Sodium::Pwhash create keys based on time cost.
...
Add #craete_key and #craete_kdf.
2019-09-12 22:28:49 -07:00
Didactic Drunk
5196ee992e
Sodium::Cipher::Chalsa Add #random_bytes for use as a CSPRNG.
2019-09-03 01:10:31 -07:00
Didactic Drunk
ed7ba20082
Sodium::Kdf keep SecureBuffer in noaccess state except when in use.
2019-09-01 10:31:36 -07:00
Didactic Drunk
8cdb4cbf42
Sodium::SecureBuffer
...
Add State and transitions.
New Exceptions.
Raise instead of crashing when attempting to access buffer.
Allow wiping more than once.
Add specs.
2019-09-01 02:51:48 -07:00
Didactic Drunk
7d33f1519f
Sodium::Nonce add JSON and Yaml converters.
2019-08-30 22:30:21 -07:00
Didactic Drunk
a825d61039
Sodium::SecretBox::PublicKey add JSON and Yaml converters.
...
Sodium::Sign::PublicKey add JSON and Yaml converters.
2019-08-29 01:16:48 -07:00
Didactic Drunk
740e49cc6b
Sodium::Sign::SecretKey#initialize add erase argument.
2019-08-26 03:31:17 -07:00
Didactic Drunk
bf2aaf0fe1
Documentation fixup
2019-08-26 03:23:03 -07:00
Didactic Drunk
2dda619026
Add default Sodium::Pwhash algorithm.
2019-08-24 14:15:37 -07:00
Didactic Drunk
2d0ed351ea
Allow reusable nonces.
2019-08-06 22:56:49 -07:00
Didactic Drunk
8ed9f94ead
Documentation fixes.
2019-08-06 16:45:20 -07:00