Jim Pick
5159d68fa9
In kdf, truncate key before passing to blake to match sodium-native behaviour
...
Currently, sodium-native and sodium-javascript are returning different
hashes. The code in hyperdrive passes a 64 byte secret key to the kdf,
but only 32 bytes are used by the native version, but all 64 bytes are
used in the javascript version. As a result, hyperdrive secret keys
can't be imported/exported across the two sodium implementations.
https://gist.github.com/jimpick/3e869522eddaad77ac1bc9e64f36e1a7
2018-03-03 17:24:12 +00:00
Mathias Buus
5ccdcdee17
0.5.4
2017-11-19 13:16:51 +01:00
Mathias Buus
48081c6896
ignore crypto in the browser
2017-11-19 13:16:35 +01:00
Mathias Buus
b1741bfdae
0.5.3
2017-11-17 12:09:34 +01:00
Mathias Buus
f7de366eec
fix shorthash_ready being deprecated
2017-11-17 12:07:52 +01:00
Mathias Buus
51e11143e5
fix siphash24 not having ready
2017-11-17 10:43:01 +01:00
Emil Bay
b883b2a8df
0.5.2
2017-11-03 08:19:11 +01:00
Emil Bay
f336097b6a
Fix bug with undefined window in web workers
...
Fixes #8
2017-11-03 08:19:06 +01:00
Mathias Buus
5511bafdba
0.5.1
2017-07-13 16:52:43 +02:00
Mathias Buus
212550db1b
bump sodium-test and minor tweak
2017-07-13 16:52:30 +02:00
Luke Burns
384ec2f636
fixed detached sign/verify
2017-07-13 16:47:23 +02:00
Mathias Buus
07e1bc4ed6
0.5.0
2017-06-28 11:17:18 +02:00
Mathias Buus
6561ff99f1
use xsalsa20 and support crypto_stream_instance
2017-06-28 11:14:00 +02:00
Emil Bay
0f249a7e8f
Run tests with browser-run
2017-06-19 22:39:11 +02:00
Emil Bay
fa6f2a836c
0.4.0
2017-06-19 22:36:13 +02:00
Emil Bay
2bae0d19af
Use independent randombytes_buf
2017-06-19 22:34:38 +02:00
Emil Bay
75bad77847
Upgrade sodium-test
2017-06-19 22:34:37 +02:00
Emil Bay
49feb73134
Move out randombytes_buf
2017-06-19 22:34:12 +02:00
Julian Gruber
642a68c2a1
Add browser support ( #1 )
...
* add browser test target
* add browser-manual target
2017-06-19 21:44:32 +02:00
Mathias Buus
abedfa6362
0.3.1
2017-06-12 11:01:30 +02:00
Mathias Buus
de8639f558
use siphash24
2017-06-12 11:01:21 +02:00
Mathias Buus
33befeb87a
cleanup newlines
2017-06-12 10:31:43 +02:00
Mathias Buus
a22454f86f
simply wasm loaded logic
2017-06-12 10:29:16 +02:00
Mathias Buus
d546f63e11
0.3.0
2017-06-12 10:19:02 +02:00
Mathias Buus
78f7c7111c
add wasm info
2017-06-12 10:15:52 +02:00
Mathias Buus
51875f2288
remove unused assert
2017-06-12 10:10:01 +02:00
Mathias Buus
95732bdd4f
add crypto_shorthash ( #4 )
2017-06-12 10:05:49 +02:00
Emil Bay
1967024766
Update to new blake2b
2017-06-11 20:23:06 +02:00
Emil Bay
776ffea91c
Fix keygen overflow bug
2017-06-11 10:44:02 +02:00
Emil Bay
56913733b9
0.2.0
2017-06-07 22:39:24 +02:00
Emil Bay
94e3891f67
Added crypto_kdf
2017-06-07 22:38:40 +02:00
Emil Bay
afa3b5fc04
0.1.0
2017-06-06 21:05:48 +02:00
Emil Bay
226ecd8778
Add memzero
2017-06-06 21:04:50 +02:00
Emil Bay
5397910bbb
Add blake2b for generichash
2017-06-06 21:04:36 +02:00
Emil Bay
f639c1ce6f
Fix sodium-test require
2017-04-13 17:59:36 +02:00
Emil Bay
92bea299c6
Add sodium-test script
2017-04-11 22:19:34 +02:00
Mathias Buus
709001fd4e
0.0.1
2017-02-12 03:37:58 +01:00
Mathias Buus
2d67f235c3
add crypto_generichash
2017-02-12 03:37:17 +01:00
Mathias Buus
e54c674afc
first commit
2017-01-24 11:41:06 +01:00