Public Member Functions | |
__construct ($algorithm, $mode) | |
__destruct () | |
encrypt ($secret, $data) | |
decrypt ($secret, $encryptedData) | |
Static Public Member Functions | |
static | create ($algorithm, $mode) |
Private Member Functions | |
createKey ($secret) | |
Private Attributes | |
$crResource = null | |
$keySize = null | |
$iv = null |
Definition at line 15 of file Crypter.class.php.
Crypter::__construct | ( | $ | algorithm, | |
$ | mode | |||
) |
Definition at line 26 of file Crypter.class.php.
Crypter::__destruct | ( | ) |
Definition at line 42 of file Crypter.class.php.
static Crypter::create | ( | $ | algorithm, | |
$ | mode | |||
) | [static] |
Definition at line 21 of file Crypter.class.php.
Crypter::createKey | ( | $ | secret | ) | [private] |
Definition at line 74 of file Crypter.class.php.
Crypter::decrypt | ( | $ | secret, | |
$ | encryptedData | |||
) |
Definition at line 59 of file Crypter.class.php.
References createKey().
Crypter::encrypt | ( | $ | secret, | |
$ | data | |||
) |
Definition at line 48 of file Crypter.class.php.
References createKey().
Crypter::$crResource = null [private] |
Definition at line 17 of file Crypter.class.php.
Crypter::$iv = null [private] |
Definition at line 19 of file Crypter.class.php.
Crypter::$keySize = null [private] |
Definition at line 18 of file Crypter.class.php.