Home
last modified time | relevance | path

Searched refs:createCipher (Results 1 - 6 of 6) sorted by relevance

/third_party/node/test/parallel/
H A Dtest-crypto-cipher-decipher.js18 ['crypto.createCipher is deprecated.', 'DEP0106'],
25 const cipher = crypto.createCipher('aes192', key);
43 const cStream = crypto.createCipher('aes192', key);
62 const cipher = crypto.createCipher('aes256', key);
89 () => crypto.createCipher(null),
98 () => crypto.createCipher('aes-256-cbc', null),
105 () => crypto.createCipher('aes-256-cbc', 'secret').update(null),
112 () => crypto.createCipher('aes-256-cbc', 'secret').setAAD(null),
152 const c = crypto.createCipher('aes-256-cbc', 'secret');
160 const c = crypto.createCipher('ae
[all...]
H A Dtest-crypto-authenticated.js78 ['crypto.createCipher is deprecated.', 'DEP0106'],
165 assert.throws(() => { crypto.createCipher(test.algo, test.password); },
168 const encrypt = crypto.createCipher(test.algo, test.password, options);
353 crypto.createCipher('aes-256-ccm', 'bad password', { authTagLength });
395 crypto.createCipher('aes-256-ccm', 'bad password', { authTagLength });
428 crypto.createCipher(`aes-256-${mode}`, 'very bad password');
676 crypto.createCipher(algo, 'foo', opts),
H A Dtest-crypto-binary-default.js465 const cipher = crypto.createCipher('aes192', key);
488 const cipher = crypto.createCipher('aes256', key);
545 const cipher = crypto.createCipher('id-aes128-wrap', key);
/third_party/node/lib/
H A Dcrypto.js136 function createCipher(cipher, password, options) { function
331 createCipher: {
334 value: deprecate(createCipher,
335 'crypto.createCipher is deprecated.', 'DEP0106'),
/third_party/node/lib/internal/crypto/
H A Dcipher.js129 function createCipher(cipher, password, options, decipher) { function
153 ReflectApply(createCipher, this, [cipher, password, options, true]);
279 ReflectApply(createCipher, this, [cipher, password, options, false]);
/third_party/node/benchmark/crypto/
H A Dcipher-stream.js36 const alice_cipher = crypto.createCipher(cipher, alice_secret);

Completed in 4 milliseconds