W3cubDocs

/Laravel 5.1

Encrypter

interface Encrypter (View source)

Methods

string encrypt( string $value)

Encrypt the given value.

string decrypt( string $payload)

Decrypt the given value.

Details

string encrypt( string $value)

Encrypt the given value.

Parameters

string $value

Return Value

string

string decrypt( string $payload)

Decrypt the given value.

Parameters

string $payload

Return Value

string

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.1/Illuminate/Contracts/Encryption/Encrypter.html