/third_party/node/test/parallel/ |
D | test-crypto-cipher-decipher.js | 33 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 …]
|
D | test-crypto-cipheriv-decipheriv.js | 19 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()]);
|
D | test-crypto-binary-default.js | 473 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 …]
|
D | test-crypto-authenticated.js | 295 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 …]
|
D | test-crypto-des3-wrap.js | 22 const decipher = crypto.createDecipheriv('des3-wrap', test.key, test.iv); constant 23 const msg = decipher.update(ciphertext, 'buffer', 'utf8');
|
D | test-crypto-update-encoding.js | 14 const decipher = () => crypto.createDecipheriv('aes-128-cbc', key, iv); function 20 for (const f of [cipher, decipher, hash, hmac, sign, verify])
|
D | test-crypto-aes-wrap.js | 55 const decipher = crypto.createDecipheriv( constant 59 const msg = decipher.update(ciphertext, 'buffer', 'utf8');
|
D | test-crypto-stream.js | 71 const decipher = crypto.createDecipheriv('aes-128-cbc', badkey, iv); constant 73 cipher.pipe(decipher)
|
D | test-crypto-key-objects.js | 84 const decipher = createDecipheriv('aes-256-ecb', key, null); constant 86 decipher.update(ciphertext), decipher.final(),
|
/third_party/node/lib/internal/crypto/ |
D | cipher.js | 96 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/ |
D | crypto.md | 10 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 …]
|
D | deprecations.md | 1746 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/ |
D | cast5.c | 419 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/ |
D | index.js | 382 Blowfish.prototype.decipher = function(x) { method in Blowfish 464 this.decipher(data.subarray(i*2));
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_ARCHIVE.md | 695 * crypto: improve cipher/decipher error messages (Ben Noordhuis) 1373 * crypto: make cipher/decipher accept buffer args (Ben Noordhuis)
|
D | CHANGELOG_V7.md | 1587 …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)…
|
D | CHANGELOG_V4.md | 703 …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)…
|
D | CHANGELOG_V6.md | 2878 …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)…
|
D | CHANGELOG_V14.md | 3634 …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…
|
D | CHANGELOG_V10.md | 3868 …* The `decipher.finaltol()` method has been deprecated. [[`19f3927d92`](https://github.com/nodejs/…
|