| [ Index ] |
|
Code source de Horde 3.1.3 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
| Poids: | 495 lignes (24 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
Horde_Cipher_blowfish:: (6 méthodes):
setKey()
getBlockSize()
encryptBlock()
_encryptBlock()
decryptBlock()
_formatKey()
Classe: Horde_Cipher_blowfish - X-Ref
The Cipher_blowfish:: class implements the Cipher interface encryption data| 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 of data. param: string $block The data to encrypt. param: string $key The key to use. return: string The encrypted output. |
| _encryptBlock($L, $R) X-Ref |
| Encrypt left and right halves of a block of data. param: integer $L Left half of the data. param: integer $R Right half of the data. return: array A hash, with keys 'L' and 'R', and the encrypted data as |
| decryptBlock($block, $key = null) X-Ref |
| Decrypt a block of data. param: string $block The data to decrypt. param: string $key The key to use. return: string The decrypted output. |
| _formatKey($key) X-Ref |
| Converts a text key into an array. param: string $key Key in text format. return: array The key in array format. |
| Généré le : Sun Feb 25 18:01:28 2007 | par Balluche grâce à PHPXref 0.7 |