Home
last modified time | relevance | path

Searched refs:randomFillSync (Results 1 – 9 of 9) 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);
141 crypto.randomFillSync(buf, 5, 5);
150 crypto.randomFillSync(buf, 5, 5);
159 crypto.randomFillSync(buf, 5);
200 assert.throws(() => crypto.randomFillSync(buf, 'test'), typeErrObj);
207 assert.throws(() => crypto.randomFillSync(buf, 0, 'test'), typeErrObj);
222 assert.throws(() => crypto.randomFillSync(buf, offsetSize), errObj);
230 assert.throws(() => crypto.randomFillSync(buf, 1, offsetSize), errObj);
[all …]
Dtest-domain-crypto.js40 crypto.randomFillSync(buf);
/third_party/node/lib/internal/crypto/
Drandom.js83 function randomFillSync(buf, offset = 0, size) { function
242 if (uuidBatch === 0) randomFillSync(uuidData);
270 randomFillSync(uuidBuf);
324 randomFillSync, property
/third_party/node/lib/
Dcrypto.js53 randomFillSync,
186 randomFillSync, property
/third_party/node/doc/api/
Dcrypto.md2687 ### `crypto.randomFillSync(buffer[, offset][, size])`
2707 console.log(crypto.randomFillSync(buf).toString('hex'));
2709 crypto.randomFillSync(buf, 5);
2713 crypto.randomFillSync(buf, 5, 5);
2721 console.log(Buffer.from(crypto.randomFillSync(a).buffer,
2725 console.log(Buffer.from(crypto.randomFillSync(b).buffer,
2729 console.log(Buffer.from(crypto.randomFillSync(c).buffer,
/third_party/node/doc/changelogs/
DCHANGELOG_V7.md86 * **crypto**: add randomFill and randomFillSync (Evan Lucas) [#10209](https://github.com/nodejs/nod…
122 …mit/75f4329e01)] - **(SEMVER-MINOR)** **crypto**: add randomFill and randomFillSync (Evan Lucas) […
DCHANGELOG_V10.md847 …/node/commit/ad40e781af)] - **doc**: fix added version of randomFill+randomFillSync (Thomas Watson…
2540 …/node/commit/34300aaaa4)] - **doc**: correct crypto.randomFill() and randomFillSync() (Gerhard Sto…
DCHANGELOG_V6.md595 …* added cypto.randomFill() and crypto.randomFillSync() (Evan Lucas) [#10209](https://github.com/no…
635 …mit/6f62f83468)] - **(SEMVER-MINOR)** **crypto**: add randomFill and randomFillSync (Evan Lucas) […
DCHANGELOG_V11.md1809 …/node/commit/58e5c00c9b)] - **doc**: fix added version of randomFill+randomFillSync (Thomas Watson…