Javascript Crypto API / Random Values

Date: 2021-11-18

Web Crypto API

function randomId(): string {
  const uint32 = window.crypto.getRandomValues(new Uint32Array(1))[0];
  return uint32.toString(16);
}
56430cookie-checkJavascript Crypto API / Random Values