Decrypts a ciphertext into a plaintext string using AES
public decryptString ( string $stringToDecrypt, boolean $base64encoded = true ) : string | ||
$stringToDecrypt | string | The ciphertext to decrypt. The first 16 bytes of the raw string must contain the IV (initialisation vector). |
$base64encoded | boolean | Should I Base64-decode the data before decryption? |
리턴 | string | The plain text string |