CryptInterface

Interface Phalcon\CryptInterface

Phalcon\CryptInterface initializer

Methods

abstract public Phalcon\CryptInterface setCipher (string $cipher)

Sets the cipher algorithm

abstract public string getCipher ()

Returns the current cipher

abstract public Phalcon\CryptInterface setMode (unknown $mode)

Sets the encrypt/decrypt mode

abstract public string getMode ()

Returns the current encryption mode