trait Crypto extends Object
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.
MDN
- Annotations
- @JSType() @native()
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Crypto
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
def
getRandomValues(array: ArrayBufferView): ArrayBufferView
Fills the passed TypedArray with cryptographically sound random values.
Fills the passed TypedArray with cryptographically sound random values.
MDN
-
def
hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
-
def
isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
-
def
propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
-
val
subtle: SubtleCrypto
Returns a SubtleCrypto object providing access to common cryptographic primitives, like hashing, signing, encryption or decryption.
Returns a SubtleCrypto object providing access to common cryptographic primitives, like hashing, signing, encryption or decryption.
MDN
-
def
toLocaleString(): String
- Definition Classes
- Object
-
def
valueOf(): Any
- Definition Classes
- Object