McryptEncrypter (Encryption)
McryptEncrypter
class McryptEncrypter extends BaseEncrypter implements Encrypter (View source)
Methods
void | __construct( string $key, string $cipher = MCRYPT_RIJNDAEL_128) Create a new encrypter instance. | |
static bool | supported( string $key, string $cipher) Determine if the given key and cipher combination is valid. | |
string | encrypt( string $value) Encrypt the given value. | |
string | decrypt( string $payload) Decrypt the given value. |
Details
void __construct( string $key, string $cipher = MCRYPT_RIJNDAEL_128)
Create a new encrypter instance.
static bool supported( string $key, string $cipher)
Determine if the given key and cipher combination is valid.
string encrypt( string $value)
Encrypt the given value.
string decrypt( string $payload)
Decrypt the given value.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.1/Illuminate/Encryption/McryptEncrypter.html