Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

random id number nodejs

const crypto = require("crypto");

const id = crypto.randomBytes(16).toString("hex");

console.log(id); // => f9b327e70bbcf42494ccb28b2d98e00e
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #random #id #number #nodejs
ADD COMMENT
Topic
Name
6+7 =