Crypto
class Crypto
Crypto wrapper.
Properties
protected EncrypterInterface | $adapter | Crypto adapter. | |
protected Signer | $signer | Signer. |
Methods
string
encrypt(string $string)
Encrypts string.
false|string
decrypt(string $string)
Decrypts string.
Details
at line 38
__construct(EncrypterInterface $adapter, Signer $signer)
Constructor.
at line 51
string
encrypt(string $string)
Encrypts string.
at line 62
false|string
decrypt(string $string)
Decrypts string.