KEY_LENGTH_BYTE
KEY_LENGTH_BYTE = 32
decryptToString(string $aesKey, string $associatedData, string $nonceStr, string $ciphertext) : string|boolean
Decrypt AEAD_AES_256_GCM ciphertext.
string | $aesKey | API V3 Key |
string | $associatedData | AES GCM additional authentication data |
string | $nonceStr | AES GCM nonce |
string | $ciphertext | AES GCM cipher text |
Decrypted string on success or FALSE on failure