Crypto
class Crypto
Crypto wrapper.
Properties
protected EncrypterInterface | $adapter | Crypto adapter. | |
protected Signer | $signer | Signer. |
Methods
string
encrypt(string $string)
Encrypts string.
string|bool
decrypt(string $string)
Decrypts string.
Details
at line 40
__construct(EncrypterInterface $adapter, Signer $signer)
Constructor.
at line 53
string
encrypt(string $string)
Encrypts string.
at line 65
string|bool
decrypt(string $string)
Decrypts string.