Crypto object
A Crypto object provides the entry point to all cryptographic methods, properties, and events.
![]() |
Syntax
var cryptoObj = window.crypto;
DOM Information
Inheritance Hierarchy
The Crypto does not inherit from any class or interface.Members
The Crypto object has these types of members:
Methods
The Crypto object has these methods.
| Method | Description |
|---|---|
| getRandomValues |
Places cryptographically random values into the given array. |
Properties
The Crypto object has these properties.
| Property | Access type | Description |
|---|---|---|
| Read-only |
A property that provides access to methods for performing cryptographic algorithms. |
Show:
