Classes
CryptoUtils
Methods
free()
computeHmacSha512()
Computes a 64-byte HMAC-SHA512 hash from the input key and data.
Parameter | Type |
---|---|
First | Uint8Array |
computePBKDF2sha512()
Computes a PBKDF2-over-SHA512 key from the password with the given parameters.
Parameter | Type |
---|---|
First | number |
getRandomValues()
Generates a secure random byte array of the given length.
Parameter | Type |
---|---|
First | number |
otpKdf()
Encrypts a message with an OTP KDF and the given parameters. The KDF uses Argon2d for hashing.
Parameter | Type |
---|---|
First | number |
<Uint8Array > |