Commit Graph

  • 9d29d467e4 add sha-wasm deps to package.json Christophe Diederichs 2020-06-18 11:35:47 +0200
  • 5473cafdfe reduce code branching, align return values with sodium-native Christophe Diederichs 2020-06-18 11:12:35 +0200
  • d2d84df55e bump to chacha 1.0.3 - remove Buffer dependency Christophe Diederichs 2020-06-17 17:29:37 +0200
  • fdfc09a157 change checks to assertions Christophe Diederichs 2020-06-17 17:27:28 +0200
  • d626fb2ca5 use Uint8Arrays instead of buffers Christophe Diederichs 2020-06-17 17:26:50 +0200
  • b6b39638cf move chacha20 alg to external module Christophe Diederichs 2020-06-17 15:07:17 +0200
  • 56416de1d5 throw if crypto_aead cannot validate, fix typo in crypto_verify Christophe Diederichs 2020-06-17 14:44:35 +0200
  • e35adc6823 catch syntax error Christophe Diederichs 2020-06-17 13:31:54 +0200
  • ec9cac17d0 added: sodium_is_zero Christophe Diederichs 2020-06-17 13:19:05 +0200
  • b7a0d1f2e5 sodium_memcmp returns boolean Christophe Diederichs 2020-06-17 13:13:05 +0200
  • 9b78e675e4 export crypto_verify module Christophe Diederichs 2020-06-17 13:10:21 +0200
  • 2214a59711 export sodium_memcmp Christophe Diederichs 2020-06-17 13:07:28 +0200
  • 0b37ca03ec added: sodium_memcmp Christophe Diederichs 2020-06-17 13:06:30 +0200
  • 6a0e8e7236 add null check on ad param Christophe Diederichs 2020-06-17 13:00:52 +0200
  • 68bd4b4a68 chacha: readUint32Le generalised for uint8array; aead: standard fix Christophe Diederichs 2020-06-17 12:50:27 +0200
  • 272ac68f6b add assertions Christophe Diederichs 2020-06-17 11:12:20 +0200
  • e423d00ebc listen to linter Christophe Diederichs 2020-06-17 01:29:42 +0200
  • caa8390691 added: crypto_aead_chacha20poly1305_ietf methods Christophe Diederichs 2020-06-17 00:56:59 +0200
  • 04bebb09c9 tidy: remove legacy functions Christophe Diederichs 2020-06-16 16:58:58 +0200
  • e69a73279a update sodium_memzero function to arr.fill(0) Christophe Diederichs 2020-06-16 16:57:58 +0200
  • 79273d499e rename memzero -> sodium-memzero Christophe Diederichs 2020-06-16 16:54:51 +0200
  • e589c6a5d6 declare constants about exports Christophe Diederichs 2020-06-16 16:52:57 +0200
  • 96266128af removed duplicate module.exports declaraion Christophe Diederichs 2020-06-16 16:03:27 +0200
  • 84bf4229e4 add: crypto_box_seed_keypair Christophe Diederichs 2020-06-16 16:02:42 +0200
  • 7d7249ddc2 export _9 constant field element Christophe Diederichs 2020-06-16 15:55:26 +0200
  • f969d1f707 correction: crypto_kx is not actually an alias of crypto_box Christophe Diederichs 2020-06-16 15:54:44 +0200
  • 67a4ba77cb scalarmult: import curve methods; be standard Christophe Diederichs 2020-06-16 15:53:27 +0200
  • 8aae7efea2 add: crypto_box_seed_keypair; alias crypto_kx methods to crypto_box Christophe Diederichs 2020-06-16 14:18:32 +0200
  • d57736bf8b be standard Christophe Diederichs 2020-06-16 14:17:31 +0200
  • 7141f00ff0 fix bugs in crypto_sign Christophe Diederichs 2020-06-16 14:16:50 +0200
  • 7e5ea3b5ed update sha512 to wasm module Christophe Diederichs 2020-06-16 14:15:33 +0200
  • 30b8e83417 add chacha20; align API with PR#21 Christophe Diederichs 2020-06-12 17:06:31 +0200
  • babf8a9440 change function signatures to match crypto_stream module Christophe Diederichs 2020-06-12 10:57:12 +0200
  • 311905883a update: crypto_hash Christophe Diederichs 2020-05-23 13:37:54 +0200
  • b0fcb363e8 fix: bug with counter >> 32 Christophe Diederichs 2020-05-08 22:34:41 +0200
  • 3f7f9d7905 alloc clen/mlen to be specified Christophe Diederichs 2020-05-08 22:33:18 +0200
  • fd7372df04 libsodium api; use let/const; prune old code; include offset/length for ws buffer Christophe Diederichs 2020-05-05 14:08:11 +0200
  • 54a049406f align function signatures with libsodium Christophe Diederichs 2020-05-05 11:35:34 +0200
  • 5c5ba43c2f standard fix Christophe Diederichs 2020-05-05 11:21:34 +0200
  • 895d4312af require ed25519.js Christophe Diederichs 2020-05-04 21:17:27 +0200
  • d1aaacd3a7 tidy up Christophe Diederichs 2020-05-04 21:13:24 +0200
  • 6a9696c86f module: crypto_box Christophe Diederichs 2020-05-04 21:12:44 +0200
  • 5dd22a0957 module: crypto_onetimeauth Christophe Diederichs 2020-05-04 21:11:30 +0200
  • a4cab9dfd4 leftover crypto_stream functions Christophe Diederichs 2020-05-04 21:10:22 +0200
  • 00d47225ff move verify functions to crypto_verify module Christophe Diederichs 2020-05-04 21:08:29 +0200
  • 1e447c23d6 module: crypto_secretbox Christophe Diederichs 2020-05-04 21:04:41 +0200
  • 6428fb8222 module: crypto_sign Christophe Diederichs 2020-05-04 20:58:36 +0200
  • b30cf7348e module: crypto_hash Christophe Diederichs 2020-05-04 20:52:17 +0200
  • ff28f5a888 module: crypto_scalarmult Christophe Diederichs 2020-05-04 20:49:21 +0200
  • 03fb607709 module: poly1305 Christophe Diederichs 2020-05-04 20:44:56 +0200
  • d7ca21cbf1 move ed25519 arithmetic to separate module Christophe Diederichs 2020-05-04 18:59:59 +0200
  • 942c2a6db0 crypto_stream: signature change needed to modularise Christophe Diederichs 2020-05-04 18:47:52 +0200
  • 540205e169 refactor to fix bug in multiple updates Christophe Diederichs 2020-05-02 14:51:18 +0200
  • 5afea2a9ab method: chacha20[_ietf] added Christophe Diederichs 2020-05-01 19:00:03 +0200
  • f37ce379fb
    Merge 66ed326c7d into 51f8fbc2d3 Nick Peihl 2020-04-08 06:05:59 -0700
  • 51f8fbc2d3 0.5.6 v0.5.6 Mathias Buus 2020-03-04 14:52:37 +0100
  • f790621e60 add sodium_malloc Mathias Buus 2020-03-04 14:50:09 +0100
  • 4e42b942a5 crypto_box: fix keypair, implement seal/seal_open Fedor Indutny 2019-08-13 08:00:27 -0700
  • b65fc35e05 crypto_box: fix keypair, implement seal/seal_open Fedor Indutny 2019-08-13 08:00:27 -0700
  • 49587c3d7f crypto_box_keypair - rename arguments to pk,sk Daniel Regeci 2018-03-18 11:36:26 +0700
  • 92aee452df crypto_box_keypair Daniel Regeci 2018-03-17 08:19:19 +0700
  • e1ca83f1bd 0.5.5 v0.5.5 Mathias Buus 2018-03-19 19:03:43 +0100
  • c81ef709d1 react-native doesn't want crypto set to an empty module (#14) Peter van Hardenberg 2018-03-19 10:58:24 -0700
  • 97cb9fdb4f
    react-native doesn't want crypto set to an empty module Peter van Hardenberg 2018-03-19 10:02:04 -0700
  • 62d589b70f crypto_box_keypair - rename arguments to pk,sk Daniel Regeci 2018-03-18 11:36:26 +0700
  • 20727d625a crypto_box_keypair Daniel Regeci 2018-03-17 08:19:19 +0700
  • 4e1c69ba13 Change crypto_kdf_KEYBYTES to be 32 and use subarray instead of slice Jim Pick 2018-03-03 09:19:06 -0800
  • 5159d68fa9 In kdf, truncate key before passing to blake to match sodium-native behaviour Jim Pick 2018-03-02 21:03:48 -0800
  • e6727fe848 Change crypto_kdf_KEYBYTES to be 32 and use subarray instead of slice Jim Pick 2018-03-03 09:19:06 -0800
  • c1c3dbfc6d In kdf, truncate key before passing to blake to match sodium-native behaviour Jim Pick 2018-03-02 21:03:48 -0800
  • 002969f78d
    Preliminary kx api kx Emil Bay 2018-02-15 22:31:13 +0100
  • 5ccdcdee17 0.5.4 v0.5.4 Mathias Buus 2017-11-19 13:16:51 +0100
  • 48081c6896 ignore crypto in the browser Mathias Buus 2017-11-19 13:16:13 +0100
  • b1741bfdae 0.5.3 v0.5.3 Mathias Buus 2017-11-17 12:09:34 +0100
  • f7de366eec fix shorthash_ready being deprecated Mathias Buus 2017-11-17 12:07:52 +0100
  • 51e11143e5 fix siphash24 not having ready Mathias Buus 2017-11-17 10:43:01 +0100
  • 66ed326c7d Move web worker test to new tests directory Nick Peihl 2017-11-07 10:50:44 -0800
  • 95bcdb89ea Add test for randombytes in web worker context Nick Peihl 2017-11-07 09:45:56 -0800
  • b883b2a8df
    0.5.2 v0.5.2 Emil Bay 2017-11-03 08:19:11 +0100
  • f336097b6a
    Fix bug with undefined window in web workers Emil Bay 2017-11-03 08:17:38 +0100
  • 5511bafdba 0.5.1 v0.5.1 Mathias Buus 2017-07-13 16:52:43 +0200
  • 212550db1b bump sodium-test and minor tweak Mathias Buus 2017-07-13 16:47:59 +0200
  • 384ec2f636 fixed detached sign/verify Luke Burns 2017-07-12 16:42:24 -0400
  • fe7e08c0df Merge 2f20972b59 into 07e1bc4ed6 Luke Burns 2017-07-12 20:42:32 +0000
  • 2f20972b59 fixed detached sign/verify Luke Burns 2017-07-12 16:42:24 -0400
  • a04871ed03 fixed argument order for crypto_sign_open Luke Burns 2017-07-12 15:21:24 -0400
  • 07e1bc4ed6 0.5.0 v0.5.0 Mathias Buus 2017-06-28 11:17:18 +0200
  • 6561ff99f1 use xsalsa20 and support crypto_stream_instance Mathias Buus 2017-06-28 11:11:38 +0200
  • 0f249a7e8f
    Run tests with browser-run Emil Bay 2017-06-19 22:39:11 +0200
  • fa6f2a836c
    0.4.0 v0.4.0 Emil Bay 2017-06-19 22:36:13 +0200
  • 2bae0d19af
    Use independent randombytes_buf Emil Bay 2017-06-19 22:33:16 +0200
  • 75bad77847
    Upgrade sodium-test Emil Bay 2017-06-19 22:32:50 +0200
  • 49feb73134
    Move out randombytes_buf Emil Bay 2017-06-19 22:32:33 +0200
  • 642a68c2a1 Add browser support (#1) Julian Gruber 2017-06-19 21:44:32 +0200
  • a2a6b937ce Merge branch 'master' into add/browser-support Emil Bay 2017-06-19 21:44:10 +0200
  • abedfa6362 0.3.1 v0.3.1 Mathias Buus 2017-06-12 11:01:30 +0200
  • de8639f558 use siphash24 Mathias Buus 2017-06-12 11:01:21 +0200
  • 33befeb87a cleanup newlines Mathias Buus 2017-06-12 10:31:43 +0200
  • a22454f86f simply wasm loaded logic Mathias Buus 2017-06-12 10:29:16 +0200
  • d546f63e11 0.3.0 v0.3.0 Mathias Buus 2017-06-12 10:19:02 +0200