Encrypts data with the system encrpytion key.
public static function UnbSession::Encrypt ($data);
(string) Data to encrypt
(string) Encrypted data in base64 encoding
This function uses Twofish encryption in ECB mode which is best suitable for short input data like keys and passwords. It is not recommended for file contents. See the PHP manual about the mcrypt library for details.
Member of class: UnbSession
Implementation file: session.class.php, line 623
© 2011 Yves Goergen. UNB Components Homepage. Reference generated on 2011-02-06.