class PasswordEncryptionService (View source)

AES-256-CBC encryption for the password held in the session, keyed from the configured session_key.

Constants

private ALGORITHM

private IV_LENGTH

Methods

__construct(string $session_key)

No description

string
encrypt(string $password)

No description

string
decrypt(string $password)

No description

Details

__construct(string $session_key)

No description

Parameters

string $session_key

string encrypt(string $password)

No description

Parameters

string $password

Return Value

string

string decrypt(string $password)

No description

Parameters

string $password

Return Value

string