Not TestedTesting not done, may not work properly
Security & Identity

Random Values API

Generate cryptographically secure random values with crypto.getRandomValues.

Checking support...
Advertisement

Interactive Input Workspace

Ready for input

Web API Execution Output

Result output will be displayed here after processing...

Native JavaScript Code Example (Zero Libraries)

const array = new Uint8Array(16);
crypto.getRandomValues(array);

About the Random Values API Web API

getRandomValues generates cryptographically strong random values into typed arrays.

Specification:W3C & WHATWG Web API Standard
Sponsored Content