Method | Description | |
---|---|---|
decrypt ( string $ciphertext ) : string | Decrypted a string. | |
encrypt ( string $plain ) : string | Encrypt a string. |
Method | Description | |
---|---|---|
__construct ( ) | constructor for Encryption object. | |
hashEquals ( string $hmac, string $compare ) : boolean | A timing attack resistant comparison. |