Home
last modified time | relevance | path

Searched refs:createCipher (Results 1 – 18 of 18) sorted by relevance

/third_party/node/test/parallel/
Dtest-crypto-cipher-decipher.js25 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('aes-256-cbc', 'secret');
173 const c = crypto.createCipher('aes192', '0123456789abcdef');
[all …]
Dtest-crypto-encoding-validation-error.js11 const createCipher = () => { function
16 const cipher = createCipher();
26 const cipher = createCipher();
36 const cipher = createCipher();
46 const cipher = createCipher();
Dtest-process-emit-warning-from-native.js24 crypto.createCipher('aes-256-gcm', key);
33 crypto.createCipher('aes-256-gcm', key);
43 crypto.createCipher('aes-256-gcm', key);
Dtest-crypto-authenticated.js165 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),
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/
Dcrypto.js136 function createCipher(cipher, password, options) { function
331 createCipher: { property
334 value: deprecate(createCipher,
/third_party/node/lib/internal/crypto/
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/
Dcipher-stream.js36 const alice_cipher = crypto.createCipher(cipher, alice_secret);
/third_party/jsframework/runtime/main/extend/systemplugin/napi/
Dohos_security_cryptoFramework.js717 createCipher: function (...args) { method
/third_party/node/doc/api/
Ddeprecations.md2103 ### DEP0106: `crypto.createCipher` and `crypto.createDecipher`
2117 Using [`crypto.createCipher()`][] and [`crypto.createDecipher()`][] must be
3383 [`crypto.createCipher()`]: crypto.md#cryptocreatecipheralgorithm-password-options
Dcrypto.md320 The [`crypto.createCipher()`][] or [`crypto.createCipheriv()`][] methods are
2973 ### `crypto.createCipher(algorithm, password[, options])`
3026 The implementation of `crypto.createCipher()` derives keys using the OpenSSL
3037 (e.g. CTR, GCM, or CCM) in `crypto.createCipher()`. A warning is emitted when
6142 [`crypto.createCipher()`]: #cryptocreatecipheralgorithm-password-options
/third_party/node/doc/changelogs/
DCHANGELOG_V10.md2808 …nodejs/node/commit/6c7733f58a)] - **doc**: update recommendations for createCipher (Tobias Nießen)…
3346 …hub.com/nodejs/node/commit/9981220e2a)] - **crypto**: fix behavior of createCipher in wrap mode (T…
3748 …(https://github.com/nodejs/node/commit/72029b8cc7)] - **crypto**: add createCipher/WithIV function…
4147 …* The `crypto.createCipher()` and `crypto.createDecipher()` methods have been deprecated. Please u…
4208 * The `crypto.createCipher()` and `crypto.createDecipher()` methods have been deprecated in documen…
4272 …mmit/81f88e30dd)] - **(SEMVER-MAJOR)** **crypto**: doc-only deprecate createCipher/Decipher (Tobia…
DCHANGELOG_V5.md1305 …thub.com/nodejs/node/commit/def681a07e)] - **crypto**: disable crypto.createCipher in FIPS mode (S…
DCHANGELOG_V8.md2982 …github.com/nodejs/node/commit/78a71aa123)] - **crypto**: fix error of createCipher in wrap mode (S…
2983 …s/node/commit/41bf40e209)] - **crypto**: warn if counter mode used in createCipher (Shigeki Ohtsu)…
DCHANGELOG_V6.md942 …github.com/nodejs/node/commit/f2cafff9b0)] - **crypto**: fix error of createCipher in wrap mode (S…
943 …s/node/commit/7115079c4f)] - **crypto**: warn if counter mode used in createCipher (Shigeki Ohtsu)…
DCHANGELOG_V4.md2569 …thub.com/nodejs/node/commit/b7c3fb7f75)] - **crypto**: disable crypto.createCipher in FIPS mode (S…
DCHANGELOG_V11.md2575 …nodejs/node/commit/933d8eb689)] - **(SEMVER-MAJOR)** **crypto**: move createCipher to runtime depr…
DCHANGELOG_V18.md3088 …/github.com/nodejs/node/commit/a3360b1f4f)] - **doc**: emphasize that createCipher is never secure…