Answers for "secure random nodejs"

0

secure random nodejs

// Synchronous
const buf = crypto.randomBytes(256);
console.log(
  `${buf.length} bytes of random data: ${buf.toString('hex')}`);
Posted by: Guest on May-18-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language