Interface Phalcon\CryptInterface

Source on GitHub

Methods

abstract public setCipher (mixed $cipher)

abstract public getCipher ()

abstract public setKey (mixed $key)

abstract public getKey ()

abstract public encrypt (mixed $text, [mixed $key])

abstract public decrypt (mixed $text, [mixed $key])

abstract public encryptBase64 (mixed $text, [mixed $key])

abstract public decryptBase64 (mixed $text, [mixed $key])

abstract public getAvailableCiphers ()