Method | Description | |
---|---|---|
decrypt ( string $cyphertext, string $password, integer $cost ) : string | Decrypt cyphertext | |
encrypt ( string $plaintext, string $password, integer $cost ) : string | Encrypt plaintext |
Method | Description | |
---|---|---|
mode ( ) : string | Return the encryption mode string. "cbc" or "ctr" |