Commit Graph

7 Commits

Author SHA1 Message Date
Christophe Diederichs
d626fb2ca5 use Uint8Arrays instead of buffers 2020-06-17 17:26:50 +02:00
Christophe Diederichs
56416de1d5 throw if crypto_aead cannot validate, fix typo in crypto_verify 2020-06-17 14:44:35 +02:00
Christophe Diederichs
6a0e8e7236 add null check on ad param 2020-06-17 13:00:52 +02:00
Christophe Diederichs
68bd4b4a68 chacha: readUint32Le generalised for uint8array; aead: standard fix 2020-06-17 12:50:27 +02:00
Christophe Diederichs
272ac68f6b add assertions 2020-06-17 11:12:20 +02:00
Christophe Diederichs
e423d00ebc listen to linter 2020-06-17 01:29:42 +02:00
Christophe Diederichs
caa8390691 added: crypto_aead_chacha20poly1305_ietf methods 2020-06-17 00:56:59 +02:00