Class: Crypto

$k. Crypto

new $k.Crypto()

Methods

static$k.Crypto.availableAlgorithms() : object

Returns an object containing the names of available digest and cipher algorithms.

Version:
  • Experimental feature, might be removed at any time
Returns:
Type Description
object

static$k.Crypto.createHash(algorithm) : $k.Hash

Creates a hash object using the given algorithm.

Name Type Description
algorithm string

The algorithm to use

Version:
  • Experimental feature, might be removed at any time
Returns:
Type Description
$k.Hash The hash object