OpenSSLCrypto
class OpenSSLCrypto implements CryptoHandler (View source)
Some cryptography used for Session cookie encryption.
Methods
string
getKey()
No description
string
getSalt()
No description
__construct(string $key, string $salt)
No description
string
encrypt(string $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
Details
string
getKey()
string
getSalt()
__construct(string $key, string $salt)
string
encrypt(string $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