Encrypter
interface Encrypter
Methods
string
encrypt(mixed $value, bool $serialize = true)
Encrypt the given value.
mixed
decrypt(string $payload, bool $unserialize = true)
Decrypt the given value.
string
getKey()
Get the encryption key that the encrypter is currently using.
array
getAllKeys()
Get the current encryption key and all previous encryption keys.
array
getPreviousKeys()
Get the previous encryption keys.
Details
at line 16
string
encrypt(mixed $value, bool $serialize = true)
Encrypt the given value.
at line 23
mixed
decrypt(string $payload, bool $unserialize = true)
Decrypt the given value.
at line 28
string
getKey()
Get the encryption key that the encrypter is currently using.
at line 33
array
getAllKeys()
Get the current encryption key and all previous encryption keys.
at line 38
array
getPreviousKeys()
Get the previous encryption keys.