The Crypto interface represents basic cryptography features available the current context. It allows access to a cryptographically random number generator and to cryptographic primitives.
The Crypto interface represents basic cryptography features available the current context. It allows access to a cryptographically random number generator and to cryptographic primitives.
(get-random-values this typed-array)
Method.
The Crypto.getRandomValues() method lets you get cryptographically random values. The array given as the parameter is filled with numbers (random in its cryptographic meaning).
cryptoObj.getRandomValues(typedArray);
See also: https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues
Method. The Crypto.getRandomValues() method lets you get cryptographically random values. The array given as the parameter is filled with numbers (random in its cryptographic meaning). `cryptoObj.getRandomValues(typedArray);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Crypto/getRandomValues`
(subtle this)
Property.
[Read Only]
The Crypto.subtle read-only property returns a web.crypto.SubtleCrypto
allowing to perform cryptographical operations.
var crypto = crypto.subtle;
See also: https://developer.mozilla.org/en-US/docs/Web/API/Crypto/subtle
Property. [Read Only] The Crypto.subtle read-only property returns a `web.crypto.SubtleCrypto` allowing to perform cryptographical operations. `var crypto = crypto.subtle;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/Crypto/subtle`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close