Searched refs:generateKeySync (Results 1 – 8 of 8) sorted by relevance
/third_party/node/test/parallel/ |
D | test-crypto-secret-keygen.js | 10 generateKeySync 18 assert.throws(() => generateKeySync(i, 1), { 29 assert.throws(() => generateKeySync('aes', i), { 40 assert.throws(() => generateKeySync('hmac', { length }), { 67 assert.throws(() => generateKeySync('hmac', { length: -1 }), { 71 assert.throws(() => generateKeySync('hmac', { length: 4 }), { 75 assert.throws(() => generateKeySync('hmac', { length: 7 }), { 80 () => generateKeySync('hmac', { length: 2 ** 31 }), { 84 assert.throws(() => generateKeySync('aes', { length: 123 }), { 90 const key = generateKeySync('aes', { length: 128 }); [all …]
|
D | test-webcrypto-webidl.js | 12 const { generateKeySync } = require('crypto'); 207 generateKeySync('aes', { length: 128 }),
|
D | test-crypto-key-objects.js | 23 generateKeySync, 841 const secret = generateKeySync('aes', { length: 128 });
|
/third_party/node/lib/ |
D | crypto.js | 75 generateKeySync, 207 generateKeySync, property
|
/third_party/node/lib/internal/crypto/ |
D | keygen.js | 403 function generateKeySync(type, options) { function 412 generateKeySync, property
|
/third_party/node/doc/api/ |
D | crypto.md | 3925 ### `crypto.generateKeySync(type, options)` 3946 generateKeySync, 3949 const key = generateKeySync('hmac', { length: 512 }); 3955 generateKeySync, 3958 const key = generateKeySync('hmac', { length: 512 });
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_V15.md | 751 …s://github.com/nodejs/node/commit/48b6781151)] - **doc**: fix crypto.generateKeySync aes allowed l…
|
D | CHANGELOG_V16.md | 1078 …com/nodejs/node/commit/9fa6dfbe76)] - **doc**: fix example of crypto.generateKeySync (Gary Ho) [#4…
|