Encrypter::encrypt()

string encrypt(string $value) Encrypt the given value. Parameters string $value Return Value string

Encrypter::decrypt()

string decrypt(string $payload) Decrypt the given value. Parameters string $payload Return Value string Exceptions DecryptException

Encrypter::decrypt()

string decrypt(string $payload) Decrypt the given value. Parameters string $payload Return Value string

Encrypter

Encrypter class Encrypter implements Encrypter (View source) Methods void __construct(string $key, string $cipher = 'AES-128-CBC') 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. string getKey() Get the encryption key.

Encrypter

Encrypter interface Encrypter (View source) Methods string encrypt(string $value) Encrypt the given value. string decrypt(string $payload) Decrypt the given value.

EncryptedStore::__construct()

void __construct(string $name, SessionHandlerInterface $handler, Encrypter $encrypter, string|null $id = null) Create a new session instance. Parameters string $name SessionHandlerInterface $handler Encrypter $encrypter string|null $id Return Value void

EncryptedStore::token()

string token() Get the CSRF token value. Return Value string

EncryptedStore::start()

start() {@inheritdoc}

EncryptedStore::setRequestOnHandler()

void setRequestOnHandler(Request $request) Set the request on the handler instance. Parameters Request $request Return Value void

EncryptedStore::setPreviousUrl()

void setPreviousUrl(string $url) Set the "previous" URL in the session. Parameters string $url Return Value void