interface StringEncrypter (View source)

Methods

string
encryptString(string $value)

Encrypt a string without serialization.

string
decryptString(string $payload)

Decrypt the given string without unserialization.

Details

string encryptString(string $value)

Encrypt a string without serialization.

Parameters

string $value

Return Value

string

Exceptions

EncryptException

string decryptString(string $payload)

Decrypt the given string without unserialization.

Parameters

string $payload

Return Value

string

Exceptions

DecryptException