\FOFEncryptAes
A simple implementation of AES-128, AES-192 and AES-256 encryption using the high performance mcrypt library.
Synopsis
class FOFEncryptAes
{
- // members
- private $_cipherType;
- private $_cipherMode;
- private $_keyString;
- // methods
- public void __construct()
- public string encryptString()
- public string decryptString()
- public static boolean isSupported()
Members
private
- $_cipherMode — string
- $_cipherType — string
- $_keyString — string
Methods
public
- __construct() — Initialise the AES encryption object
- decryptString() — Decrypts a ciphertext into a plaintext string using AES
- encryptString() — Encrypts a string using AES
- isSupported() — Is AES encryption supported by this PHP installation?