Files

2 lines
160 B
JavaScript
Raw Permalink Normal View History

2026-04-07 02:04:22 +05:30
function n(r=12){const t=new Uint8Array(r);return crypto.getRandomValues(t),Array.from(t,a=>a.toString(16).padStart(2,"0")).join("").slice(0,r)}export{n as g};