Home
last modified time | relevance | path

Searched refs:decipher (Results 1 – 20 of 20) sorted by relevance

/third_party/node/test/parallel/
Dtest-crypto-cipher-decipher.js33 const decipher = crypto.createDecipher('aes192', key);
34 let txt = decipher.update(ciph, 'hex', 'utf8');
35 txt += decipher.final('utf8');
69 const decipher = crypto.createDecipher('aes256', key);
70 let txt = decipher.update(ciph, 'base64', 'utf8');
71 txt += decipher.final('utf8');
212 let decipher = crypto.createDecipher('aes192', key); variable
215 txt = decipher.update(ciph, 'base64', 'ucs2');
216 txt += decipher.final('ucs2');
219 decipher = crypto.createDecipher('aes192', key);
[all …]
Dtest-crypto-cipheriv-decipheriv.js19 const decipher = crypto.createDecipheriv('des-ede3-cbc', key, iv);
20 let txt = decipher.update(ciph, 'hex', 'utf8');
21 txt += decipher.final('utf8');
53 const decipher = crypto.createDecipheriv('des-ede3-cbc', key, iv);
54 let txt = decipher.update(ciph, 'buffer', 'utf8');
55 txt += decipher.final('utf8');
73 const decipher = crypto.createDecipheriv('id-aes128-wrap', key, iv);
74 let deciph = decipher.update(ciph, 'buffer');
75 deciph = Buffer.concat([deciph, decipher.final()]);
Dtest-crypto-binary-default.js473 const decipher = crypto.createDecipher('aes192', key);
474 let txt = decipher.update(ciph, 'hex', 'utf8');
475 txt += decipher.final('utf8');
495 const decipher = crypto.createDecipher('aes256', key);
496 let txt = decipher.update(ciph, 'base64', 'utf8');
497 txt += decipher.final('utf8');
513 const decipher = crypto.createDecipheriv('des-ede3-cbc', key, iv);
514 let txt = decipher.update(ciph, 'hex', 'utf8');
515 txt += decipher.final('utf8');
531 const decipher = crypto.createDecipheriv('des-ede3-cbc', key, iv);
[all …]
Dtest-crypto-authenticated.js295 const decipher = crypto.createDecipheriv('aes-256-gcm', constant
303 decipher.setAuthTag(Buffer.from('1'.repeat(12)));
310 decipher.setAuthTag(Buffer.from('445352d3ff85cf94', 'hex'));
312 decipher.update('3a2a3647', 'hex'),
313 decipher.final(),
576 const decipher = crypto.createDecipheriv(`aes-128-${mode}`, key, iv, { constant
580 decipher.setAuthTag(authTag);
582 const resultUpdate = decipher.update(ciphertext);
584 decipher.setAuthTag(authTag);
586 const resultFinal = decipher.final();
[all …]
Dtest-crypto-des3-wrap.js22 const decipher = crypto.createDecipheriv('des3-wrap', test.key, test.iv); constant
23 const msg = decipher.update(ciphertext, 'buffer', 'utf8');
Dtest-crypto-update-encoding.js14 const decipher = () => crypto.createDecipheriv('aes-128-cbc', key, iv); function
20 for (const f of [cipher, decipher, hash, hmac, sign, verify])
Dtest-crypto-aes-wrap.js55 const decipher = crypto.createDecipheriv( constant
59 const msg = decipher.update(ciphertext, 'buffer', 'utf8');
Dtest-crypto-stream.js71 const decipher = crypto.createDecipheriv('aes-128-cbc', badkey, iv); constant
73 cipher.pipe(decipher)
Dtest-crypto-key-objects.js84 const decipher = createDecipheriv('aes-256-ecb', key, null); constant
86 decipher.update(ciphertext), decipher.final(),
/third_party/node/lib/internal/crypto/
Dcipher.js96 function createCipherBase(cipher, credential, options, decipher, iv) { argument
99 this[kHandle] = new CipherBase(decipher);
110 function createCipher(cipher, password, options, decipher) { argument
114 createCipherBase.call(this, cipher, password, options, decipher);
117 function createCipherWithIV(cipher, key, options, decipher, iv) { argument
121 createCipherBase.call(this, cipher, key, options, decipher, iv);
/third_party/node/doc/api/
Dcrypto.md10 wrappers for OpenSSL's hash, HMAC, cipher, decipher, sign, and verify functions.
380 * Using the [`decipher.update()`][] and [`decipher.final()`][] methods to
401 const decipher = crypto.createDecipheriv(algorithm, key, iv);
404 decipher.on('readable', () => {
405 while (null !== (chunk = decipher.read())) {
409 decipher.on('end', () => {
417 decipher.write(encrypted, 'hex');
418 decipher.end();
434 const decipher = crypto.createDecipheriv(algorithm, key, iv);
439 input.pipe(decipher).pipe(output);
[all …]
Ddeprecations.md1746 OpenSSL when calling [`decipher.setAuthTag()`][]. Beginning with Node.js
1959 ### DEP0105: `decipher.finaltol`
1972 `decipher.finaltol()` has never been documented and was an alias for
1973 [`decipher.final()`][]. This API has been removed, and it is recommended to use
1974 [`decipher.final()`][] instead.
2710 [`decipher.final()`]: crypto.md#crypto_decipher_final_outputencoding
2711 [`decipher.setAuthTag()`]: crypto.md#crypto_decipher_setauthtag_buffer
/third_party/ffmpeg/libavutil/
Dcast5.c419 static void decipher(AVCAST5* cs, uint8_t* dst, const uint8_t* src, uint8_t *iv) in decipher() function
481 decipher(cs, dst, src, iv); in av_cast5_crypt2()
500 decipher(cs, dst, src, NULL); in av_cast5_crypt()
/third_party/node/deps/npm/node_modules/bcrypt-pbkdf/
Dindex.js382 Blowfish.prototype.decipher = function(x) { method in Blowfish
464 this.decipher(data.subarray(i*2));
/third_party/node/doc/changelogs/
DCHANGELOG_ARCHIVE.md695 * crypto: improve cipher/decipher error messages (Ben Noordhuis)
1373 * crypto: make cipher/decipher accept buffer args (Ben Noordhuis)
DCHANGELOG_V7.md1587 …s://github.com/nodejs/node/commit/c4fbdfa785)] - **doc**: fix typo for `decipher.final`. (iamchenx…
1601 …tps://github.com/nodejs/node/commit/c7cd400fcb)] - **doc**: fix crypto "decipher.setAAD()" typo (子…
1706 …js/node/commit/f76bb2adf8)] - **test**: refactor test for crypto cipher/decipher iv (Julian Duque)…
DCHANGELOG_V4.md703 …tps://github.com/nodejs/node/commit/eb5972fe9b)] - **doc**: fix crypto "decipher.setAAD()" typo (子…
813 …js/node/commit/6ecc4ffb1c)] - **test**: refactor test for crypto cipher/decipher iv (Julian Duque)…
DCHANGELOG_V6.md2878 …s://github.com/nodejs/node/commit/b167727dcc)] - **doc**: fix typo for `decipher.final`. (iamchenx…
2891 …tps://github.com/nodejs/node/commit/7051ea8606)] - **doc**: fix crypto "decipher.setAAD()" typo (子…
3084 …js/node/commit/c4277d9b5e)] - **test**: refactor test for crypto cipher/decipher iv (Julian Duque)…
DCHANGELOG_V14.md3634 …js/node/commit/d4e871424f)] - **doc**: update function description for `decipher.setAAD` (Jonathan…
3881 ….com/nodejs/node/commit/a9e4fdbd1b)] - **doc**: correct description of `decipher.setAuthTag` in cr…
DCHANGELOG_V10.md3868 …* The `decipher.finaltol()` method has been deprecated. [[`19f3927d92`](https://github.com/nodejs/…