Home
last modified time | relevance | path

Searched refs:scryptSync (Results 1 – 6 of 6) sorted by relevance

/third_party/node/test/parallel/
Dtest-crypto-scrypt.js150 const actual = crypto.scryptSync(pass, salt, keylen, options);
165 assert.throws(() => crypto.scryptSync('pass', 'salt', 1, options),
177 assert.throws(() => crypto.scryptSync('pass', 'salt', 1, options),
183 const expected = crypto.scryptSync('pass', 'salt', 1, defaults);
184 const actual = crypto.scryptSync('pass', 'salt', 1);
194 const expected = crypto.scryptSync('pass', 'salt', 1, defaults);
198 const actual = crypto.scryptSync('pass', 'salt', 1);
210 assert.throws(() => crypto.scryptSync(...args), expected);
230 assert.throws(() => crypto.scryptSync('', '', 0, { maxmem: 2 ** 53 }), {
242 crypto.scryptSync('', '', 1, {
[all …]
/third_party/node/lib/internal/crypto/
Dscrypt.js50 function scryptSync(password, salt, keylen, options = defaults) { function
122 module.exports = { scrypt, scryptSync }; field
/third_party/node/lib/
Dcrypto.js63 scryptSync
190 scryptSync, property
/third_party/node/doc/api/
Dcrypto.md205 const key = crypto.scryptSync(password, 'salt', 24);
237 const key = crypto.scryptSync(password, 'salt', 24);
258 const key = crypto.scryptSync(password, 'salt', 24);
397 const key = crypto.scryptSync(password, 'salt', 24);
430 const key = crypto.scryptSync(password, 'salt', 24);
450 const key = crypto.scryptSync(password, 'salt', 24);
2921 ### `crypto.scryptSync(password, salt, keylen[, options])`
2967 const key1 = crypto.scryptSync('password', 'salt', 64);
2970 const key2 = crypto.scryptSync('password', 'salt', 64, { N: 1024 });
Derrors.md848 One or more [`crypto.scrypt()`][] or [`crypto.scryptSync()`][] parameters are
2623 [`crypto.scryptSync()`]: crypto.md#crypto_crypto_scryptsync_password_salt_keylen_options
/third_party/node/doc/changelogs/
DCHANGELOG_V10.md3077 …/commit/c9b4592dbf)] - **(SEMVER-MINOR)** **crypto**: add scrypt() and scryptSync() methods (Ben N…