Home
last modified time | relevance | path

Searched refs:randomFillSync (Results 1 – 11 of 11) sorted by relevance

/third_party/node/test/parallel/
Dtest-crypto-random.js77 const after = crypto.randomFillSync(buf).toString('hex');
84 crypto.randomFillSync(buf);
98 crypto.randomFillSync(buf);
122 crypto.randomFillSync(buf);
178 crypto.randomFillSync(buf, 5, 5);
187 crypto.randomFillSync(buf, 5, 5);
196 crypto.randomFillSync(buf, 5);
237 assert.throws(() => crypto.randomFillSync(buf, 'test'), typeErrObj);
244 assert.throws(() => crypto.randomFillSync(buf, 0, 'test'), typeErrObj);
259 assert.throws(() => crypto.randomFillSync(buf, offsetSize), errObj);
[all …]
Dtest-crypto-randomfillsync-regression.js6 const { randomFillSync } = require('crypto');
14 randomFillSync(buf);
Dtest-domain-crypto.js40 crypto.randomFillSync(buf);
/third_party/node/lib/internal/crypto/
Drandom.js107 randomFillSync(buf.buffer, 0, size);
118 function randomFillSync(buf, offset = 0, size) { function
256 randomFillSync(randomCache);
335 randomFillSync(data, 0);
392 if (uuidBatch === 0) randomFillSync(uuidData);
401 randomFillSync(uuidNotBuffered);
610 randomFillSync, property
/third_party/node/lib/
Dcrypto.js55 randomFillSync,
214 randomFillSync, property
/third_party/node/doc/api/
Dcrypto.md4801 ### `crypto.randomFillSync(buffer[, offset][, size])`
4825 const { randomFillSync } = await import('node:crypto');
4828 console.log(randomFillSync(buf).toString('hex'));
4830 randomFillSync(buf, 5);
4834 randomFillSync(buf, 5, 5);
4839 const { randomFillSync } = require('node:crypto');
4843 console.log(randomFillSync(buf).toString('hex'));
4845 randomFillSync(buf, 5);
4849 randomFillSync(buf, 5, 5);
4858 const { randomFillSync } = await import('node:crypto');
[all …]
/third_party/node/doc/changelogs/
DCHANGELOG_V7.md90 * **crypto**: add randomFill and randomFillSync (Evan Lucas) [#10209](https://github.com/nodejs/nod…
126 …mit/75f4329e01)] - **(SEMVER-MINOR)** **crypto**: add randomFill and randomFillSync (Evan Lucas) […
DCHANGELOG_V15.md1833 * **crypto**: fix regression on randomFillSync (James M Snell) [#35723](https://github.com/nodejs/n…
1841 ….com/nodejs/node/commit/f5acc2d030)] - **crypto**: fix regression on randomFillSync (James M Snell…
DCHANGELOG_V10.md1105 …/node/commit/ad40e781af)] - **doc**: fix added version of randomFill+randomFillSync (Thomas Watson…
2809 …/node/commit/34300aaaa4)] - **doc**: correct crypto.randomFill() and randomFillSync() (Gerhard Sto…
DCHANGELOG_V6.md609 …* added cypto.randomFill() and crypto.randomFillSync() (Evan Lucas) [#10209](https://github.com/no…
649 …mit/6f62f83468)] - **(SEMVER-MINOR)** **crypto**: add randomFill and randomFillSync (Evan Lucas) […
DCHANGELOG_V11.md1824 …/node/commit/58e5c00c9b)] - **doc**: fix added version of randomFill+randomFillSync (Thomas Watson…