Static
blake2bStatic
digestSHA512Static
Private
ensureStatic
getStatic
hash160Given a byte array, return the hash160 of the sha256 of the byte array
The data to be hashed.
The hash160 of the input data.
Static
hash256It hashes the data using the SHA-256 algorithm.
The data to be hashed.
The hash256 function returns a hash256 value.
Static
pbkdf2It hashes the password using the PBKDF2 algorithm.
The password to use for the key derivation.
A salt to use for the key derivation function (salt's length must be from 16).
The number of iterations to perform (must be from 120k).
The size of the derived key in bytes (must be from 16).
The PBKDF2 function returns a Uint8Array.
Static
randomStatic
scryptGenerated using TypeDoc
Provide utilities to due with cryptography