Home
last modified time | relevance | path

Searched refs:secretbox (Results 1 – 7 of 7) sorted by relevance

/third_party/node/deps/npm/node_modules/tweetnacl/
Dnacl.d.ts19 export interface secretbox { interface
91 secretbox: nacl.secretbox; property
DREADME.md23 …* [Secret-key authenticated encryption (secretbox)](#secret-key-authenticated-encryption-secretbox)
153 ### Secret-key authenticated encryption (secretbox)
157 #### nacl.secretbox(message, nonce, key) argument
163 `nacl.secretbox.overheadLength` longer than the original message.
165 #### nacl.secretbox.open(box, nonce, key) argument
171 #### nacl.secretbox.keyLength = 32 argument
175 #### nacl.secretbox.nonceLength = 24 argument
179 #### nacl.secretbox.overheadLength = 16 argument
421 | secretbox 1K | 1113 op/s | 57583 op/s | 334 op/s | 14227 op/s |
Dnacl.js961 nacl.secretbox = function(msg, nonce, key) { function
971 nacl.secretbox.open = function(box, nonce, key) {
982 nacl.secretbox.keyLength = crypto_secretbox_KEYBYTES;
983 nacl.secretbox.nonceLength = crypto_secretbox_NONCEBYTES;
984 nacl.secretbox.overheadLength = crypto_secretbox_BOXZEROBYTES;
1008 return nacl.secretbox(msg, nonce, k);
1019 nacl.box.after = nacl.secretbox;
1023 return nacl.secretbox.open(msg, nonce, k);
1026 nacl.box.open.after = nacl.secretbox.open;
1048 nacl.box.overheadLength = nacl.secretbox.overheadLength;
Dnacl.min.js1secretbox=function(r,n,e){yr(r,n,e),cr(e,n);for(var t=new Uint8Array(Pr+r.length),o=new Uint8Array… function
Dnacl-fast.min.js1secretbox=function(r,t,n){Q(r,t,n),H(n,t);for(var e=new Uint8Array(_r+r.length),o=new Uint8Array(e… function
Dnacl-fast.js2174 nacl.secretbox = function(msg, nonce, key) { function
2184 nacl.secretbox.open = function(box, nonce, key) {
2195 nacl.secretbox.keyLength = crypto_secretbox_KEYBYTES;
2196 nacl.secretbox.nonceLength = crypto_secretbox_NONCEBYTES;
2197 nacl.secretbox.overheadLength = crypto_secretbox_BOXZEROBYTES;
2221 return nacl.secretbox(msg, nonce, k);
2232 nacl.box.after = nacl.secretbox;
2236 return nacl.secretbox.open(msg, nonce, k);
2239 nacl.box.open.after = nacl.secretbox.open;
2261 nacl.box.overheadLength = nacl.secretbox.overheadLength;
DCHANGELOG.md210 bytes in Poly1305 (and thus, secretbox and box). However this has no impact