\JCryptCipherMcrypt
JCrypt cipher for mcrypt algorithm encryption, decryption and key generation.
Synopsis
class JCryptCipherMcrypt
implements
JCryptCipher
{
- // methods
- public void __construct()
- public string decrypt()
- public string encrypt()
- public JCryptKey generateKey()
- public string pbkdf2()
Hierarchy
Members
protected
- $keyType — string
- $mode — integer
- $type — integer
Methods
public
- __construct() — Constructor.
- decrypt() — Method to decrypt a data string.
- encrypt() — Method to encrypt a data string.
- generateKey() — Method to generate a new encryption key object.
- pbkdf2() — PBKDF2 Implementation for deriving keys.