UNPKG

135 BJavaScriptView Raw
1import crypto from 'crypto';
2const rnds8 = new Uint8Array(16);
3export default function rng() {
4 return crypto.randomFillSync(rnds8);
5}
\No newline at end of file