interface Encrypter (View source)

Methods

mixed
encrypt(mixed $value, bool $serialize = true)

Encrypt the given value.

mixed
decrypt(mixed $payload, bool $unserialize = true)

Decrypt the given value.

Details

mixed encrypt(mixed $value, bool $serialize = true)

Encrypt the given value.

Parameters

mixed $value
bool $serialize

Return Value

mixed

Exceptions

EncryptException

mixed decrypt(mixed $payload, bool $unserialize = true)

Decrypt the given value.

Parameters

mixed $payload
bool $unserialize

Return Value

mixed

Exceptions

DecryptException