window.crypto Redirect 1

There was a scripting error on this page. While it is being addressed by site editors, you can view partial content below.

{{ APIRef }}

The crypto API allows web pages access to certain cryptographic related services. These services are a balance between the functionality web pages need, and the requirement to protect users from malicious web sites.

See JavaScript crypto for details on features implemented only by Mozilla.

Methods

crypto.getRandomValues
This method fills the passed TypedArray with cryptographically random values.

Specification

Document Tags and Contributors

Last updated by: Sheppy,