interface Encrypter (View source)

Methods

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

Encrypt the given value.

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

Decrypt the given value.

Details

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

Encrypt the given value.

Parameters

string $value
bool $serialize

Return Value

string

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

Decrypt the given value.

Parameters

string $payload
bool $unserialize

Return Value

string