interface Illuminate / Contracts / Encryption / Encrypter

Encrypter

Methods

public

encrypt ( $value , $serialize ) : string

Encrypt the given value.

Parameters

  • $value mixed
  • $serialize bool
public

decrypt ( $payload , $unserialize ) : mixed

Decrypt the given value.

Parameters

  • $payload string
  • $unserialize bool
public

getKey ( ) : string

Get the encryption key that the encrypter is currently using.