Base64 encoded string to be decrypted
Secrey key/passphrase to use to decrypt, must be the same as the one used to encrypt
UTF8 encoded string of decrypted text
Create an encryption key of length length
derived using a CPU and
memory intensive algorithm. The key
is used directly and hashed
to generate the salt for the derivation process.
Key used to derive encryption key
Length of derived key
Encryption key of length length
Encrypt a text string and return is base64 encoded. The key is used to derive a suitable key and initialization vector.
String to be encrypted
Secrey key/passphrase to use to encrypt
Base64 encoded string of encrypted text
Generated using TypeDoc
Decrypt a base64 encoded text string.