McryptCrypto deprecated
class McryptCrypto implements CryptoHandler (View source)
deprecated
Some cryptography used for Session cookie encryption. Requires the mcrypt extension.
Properties
protected | $key | |||
protected | $ivSize | |||
protected | $keySize | |||
protected | $salt | |||
protected | $saltedKey |
Methods
public
string
decrypt(string $data)
Check the signature on an encrypted-and-signed message, and if valid decrypt the content
Details
string
getKey()
No description
string
getSalt()
No description
__construct($key, $salt)
No description
string
encrypt($cleartext)
Encrypt and then sign some cleartext
string
decrypt(string $data)
Check the signature on an encrypted-and-signed message, and if valid decrypt the content