Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Crypto

Nossos voluntários ainda não traduziram este artigo para o Português (do Brasil) . Junte-se a nós e ajude a fazer o trabalho!

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.

Specifications

Specification Status Comment
Web Cryptography API
The definition of 'Crypto' in that specification.
Candidate Recommendation Initial definition

See Also

Etiquetas do documento e colaboradores

 Colaboradores desta página: Sebastianz, teoli, Noitidart, njoyce
 Última atualização por: Sebastianz,