Pinned Repositories
Create
Create1
IP
New
generator.js const crypto = require('crypto'); const fs = require('fs'); const target = 1000; var original; try { var content = fs.readFileSync('results.txt').toString('ascii'); original = content.split('\n'); } catch(e) { original = []; } console.log("Original: " + original.length); console.log("Generate to " + target); while(original.length < target) { while(original.length < target) { var current = crypto.randomBytes(128).toString('hex'); original.push(current); } original.sort(); for(var i = 1; i < original.length; ++i) { while(i < original.length && original[i] == original[i-1]) original.splice(i, i+1); } } fs.writeFileSync('results.txt', original.join('\n'));
xPx
WindowsTh's Repositories
WindowsTh doesn’t have any repository yet.