Crypto

Overview

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.

Location

Properties


subtle

 

property subtle: dynamic read;

 

dynamic subtle { get; }

 

var subtle: dynamic { get{} }

 

dynamic subtle { __get; }

 

ReadOnly Property subtle() As dynamic

Required Methods


getRandomValues

Fills the passed TypedArray with cryptographically sound random values.

 

method getRandomValues(partypedArray: dynamic): dynamic

 

dynamic getRandomValues(dynamic partypedArray)

 

func getRandomValues(_ partypedArray: dynamic) -> dynamic

 

dynamic getRandomValues(dynamic partypedArray)

 

Function getRandomValues(partypedArray As dynamic) As dynamic

Parameters:

  • partypedArray: