Class for managing encrypting and decrypting private auth information.
Clears the crypto state. This should be called in a finally block.
Decrypts text.
The text to decrypt.
Encrypts text. Returns the encrypted string or undefined if no string was passed.
The text to encrypt.
Takes a best guess if the value provided was encrypted by Crypto.encrypt by checking the delimiter, tag length, and valid characters.
Optional
The text
true if the text is encrypted, false otherwise.
Class for managing encrypting and decrypting private auth information.