| [ Index ] |
PHP Cross Reference of moodle-2.8 |
[Source view] [Print] [Project Stats]
Copyright 2005-2008 Matthew Fonda <[email protected]> Copyright 2012-2014 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
| Copyright: | 2005-2008 Matthew Fonda |
| Copyright: | 2012-2014 Horde LLC |
| License: | http://www.horde.org/licenses/lgpl21 LGPL 2.1 |
| File Size: | 178 lines (5 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
Horde_Crypt_Blowfish:: (5 methods):
__construct()
__get()
encrypt()
decrypt()
setKey()
Class: Horde_Crypt_Blowfish - X-Ref
Provides blowfish encryption/decryption, with or without a secret key,| __construct($key, array $opts = array() X-Ref |
| Constructor. param: string $key Encryption key. param: array $opts Additional options: |
| __get($name) X-Ref |
| No description |
| encrypt($text) X-Ref |
| Encrypts a string. param: string $text The string to encrypt. return: string The ciphertext. |
| decrypt($text) X-Ref |
| Decrypts a string. param: string $text The string to decrypt. return: string The plaintext. |
| setKey($key, $iv = null) X-Ref |
| Sets the secret key. The key must be non-zero, and less than or equal to MAXKEYSIZE characters (bytes) in length. param: string $key Key must be non-empty and less than MAXKEYSIZE param: string $iv The initialization vector to use. Only needed for |
| Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |