FOFEncryptAes::decryptString
Decrypts a ciphertext into a plaintext string using AES
Signature
public function decryptString(string
$stringToDecrypt,
[bool
$base64encoded = true] )
Parameters
-
$stringToDecrypt
- The ciphertext to decrypt. The first 16 bytes of the raw string must contain the IV (initialisation vector).
-
$base64encoded
- Should I Base64-decode the data before decryption?
Returns
- string
- The plain text string