📅  最后修改于: 2022-03-11 15:02:55.137000             🧑  作者: Mango
代码示例1
// Synchronous
const buf = crypto.randomBytes(256);
console.log(
`${buf.length} bytes of random data: ${buf.toString('hex')}`);