3 ms·
It would be a pretty long line, containing a function wrapping crypto.randomBytes, window.crypto.getRandomValues, window.msCrypto.getRandomValues selected at ru
by dchest 9y ago
It would be a pretty long line, containing a function wrapping crypto.randomBytes, window.crypto.getRandomValues, window.msCrypto.getRandomValues selected at runtime, and then a few lines to select characters avoiding modulo bias. Try?
- mort96 9y agoThat sounds like a pretty interesting code golf-ish challenge actually, would attempt if I had more than 3% battery on my laptop atm :(