Crypto

by 3 contributors:
Our volunteers haven't translated this article into Bahasa Indonesia yet. Join us and help get the job done!

The Crypto interface represents basic cryptography features available in the current context. It allows access to a cryptographically strong random number generator and to cryptographic primitives.

An object with this interface is available on Web context via the Window.crypto property.

Properties

This interface implements properties defined on RandomSource.

Crypto.subtle Read only
Returns a SubtleCrypto object providing access to common cryptographic primitives, like hashing, signing, encryption or decryption.

Methods

This interface implements methods defined on RandomSource.

RandomSource.getRandomValues()
Fills the passed TypedArray with cryptographically sound random values.

See Also

Document Tags and Contributors

Contributors to this page: teoli, Noitidart, njoyce
Last updated by: teoli,