Class FOFEncryptAes
A simple implementation of AES-128, AES-192 and AES-256 encryption using the high performance mcrypt library.
Package: FrameworkOnFramework\encrypt
Copyright: Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved.
License: General Public License version 2 or later; see LICENSE.txt
Since: 1.0
Located at fof/encrypt/aes.php
Copyright: Copyright (C) 2010-2016 Nicholas K. Dionysopoulos / Akeeba Ltd. All rights reserved.
License: General Public License version 2 or later; see LICENSE.txt
Since: 1.0
Located at fof/encrypt/aes.php
Methods summary
public
|
#
__construct( string $key, integer $strength = 128, string $mode = 'cbc',
Initialise the AES encryption object. |
public
|
|
public
string
|
#
encryptString( string $stringToEncrypt, boolean $base64encoded = true )
Encrypts a string using AES |
public
string
|
#
decryptString( string $stringToDecrypt, boolean $base64encoded = true )
Decrypts a ciphertext into a plaintext string using AES |
public static
boolean
|
#
isSupported(
Is AES encryption supported by this PHP installation? |
public
string
|
Magic methods summary
Properties summary
protected
string
|
$key |
#
The cipher key. |
protected
|
$adapter |
#
The AES encryption adapter in use. |