Method | Description | |
---|---|---|
key ( string $key ) : self | Set the keys to encrypt and authenticate. |
Method | Description | |
---|---|---|
checkKey ( ) | Check whether the key exists or not. | |
decrypt ( string $value ) : string | Decrypt the given value. | |
encrypt ( string $value ) : string | Encrypt the given value. | |
hkdf ( string $ikm, string $info = '' ) : string | Get derived key http://tools.ietf.org/html/rfc5869. | |
secureRandomKey ( ) : string | null | Generate a secure random key. |