we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
showing results for - "secure random nodejs"
Maria
06 Sep 2019
1// Synchronous
2const buf = crypto.randomBytes(256);
3console.log(
4  `${buf.length} bytes of random data: ${buf.toString('hex')}`);
5