Home
last modified time | relevance | path

Searched refs:generateKeySync (Results 1 – 8 of 8) sorted by relevance

/third_party/node/test/parallel/
Dtest-crypto-secret-keygen.js10 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 …]
Dtest-webcrypto-webidl.js12 const { generateKeySync } = require('crypto');
207 generateKeySync('aes', { length: 128 }),
Dtest-crypto-key-objects.js23 generateKeySync,
841 const secret = generateKeySync('aes', { length: 128 });
/third_party/node/lib/
Dcrypto.js75 generateKeySync,
207 generateKeySync, property
/third_party/node/lib/internal/crypto/
Dkeygen.js403 function generateKeySync(type, options) { function
412 generateKeySync, property
/third_party/node/doc/api/
Dcrypto.md3925 ### `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/
DCHANGELOG_V15.md751 …s://github.com/nodejs/node/commit/48b6781151)] - **doc**: fix crypto.generateKeySync aes allowed l…
DCHANGELOG_V16.md1078 …com/nodejs/node/commit/9fa6dfbe76)] - **doc**: fix example of crypto.generateKeySync (Gary Ho) [#4…