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
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Crypto
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def getRandomValues(array: ArrayBufferView): ArrayBufferView

    Fills the passed TypedArray with cryptographically sound random values.

    Fills the passed TypedArray with cryptographically sound random values.

    MDN

  2. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  3. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  4. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  5. 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

  6. def toLocaleString(): String
    Definition Classes
    Object
  7. def valueOf(): Any
    Definition Classes
    Object