Crypt
Class Phalcon\Crypt
implements Phalcon\CryptInterface
Provides encryption facilities to phalcon applications
$crypt = new Phalcon\Crypt(); $key = 'le password'; $text = 'This is a secret text'; $encrypted = $crypt->encrypt($text, $key); echo $crypt->decrypt($encrypted, $key);