KEY_LENGTH_BYTE
KEY_LENGTH_BYTE = 32
Aes 解密工具类 Class DecryptAes
decryptToString(string $associatedData, string $nonceStr, string $ciphertext) : string|boolean
Decrypt AEAD_AES_256_GCM ciphertext
| 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