| [ Index ] |
|
Code source de phpMyAdmin 2.10.3 |
[Code source] [Imprimer] [Statistiques]
The Cipher_blowfish:: class implements the Cipher interface enryption data using the Blowfish algorithm.
| Author: | Mike Cochrane <mike@graftonhall.co.nz> |
| Version: | $Revision: 8301 $ |
| Poids: | 566 lignes (28 kb) |
| Inclus ou requis: | 1 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
Horde_Cipher_blowfish:: (10 méthodes):
Cipher_blowfish()
setKey()
getBlockSize()
encryptBlock()
_encryptBlock()
decryptBlock()
_formatKey()
full_str_pad()
PMA_blowfish_encrypt()
PMA_blowfish_decrypt()
Classe: Horde_Cipher_blowfish - X-Ref
| Cipher_blowfish($params = null) X-Ref |
| Pas de description |
| setKey($key) X-Ref |
| Set the key to be used for en/decryption param: String $key The key to use |
| getBlockSize() X-Ref |
| Return the size of the blocks that this cipher needs return: Integer The number of characters per block |
| encryptBlock($block, $key = null) X-Ref |
| Encrypt a block on data. param: String $block The data to encrypt param: optional String $key The key to use return: String the encrypted output |
| _encryptBlock($L, $R) X-Ref |
| Encrypt a block on data. param: String $L The data to encrypt. param: String $R The data to encrypt. return: String The encrypted output. |
| decryptBlock($block, $key = null) X-Ref |
| Decrypt a block on data. param: String $block The data to decrypt param: optional String $key The key to use return: String the decrypted output |
| _formatKey($key) X-Ref |
| Converts a text key into an array. return: array The key. |
| full_str_pad($input, $pad_length, $pad_string = '', $pad_type = 0) X-Ref |
| String padding param: string input string param: integer length of the result param: string the filling string param: integer padding mode return: string the padded string |
| PMA_blowfish_encrypt($data, $secret) X-Ref |
| Encryption using blowfish algorithm author: lem9 param: string original data param: string the secret return: string the encrypted result |
| PMA_blowfish_decrypt($encdata, $secret) X-Ref |
| Decryption using blowfish algorithm author: lem9 param: string encrypted data param: string the secret return: string original data |
| Généré le : Mon Nov 26 15:18:20 2007 | par Balluche grâce à PHPXref 0.7 |
|