[ Index ] |
|
Code source de Horde 3.1.3 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 442 lignes (12 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 0 fois |
Nécessite: | 0 fichiers |
Horde_Cipher_des:: (8 méthodes):
setKey()
getBlockSize()
encryptBlock()
decryptBlock()
_initialPerm()
_finalPerm()
_f()
_keySchedule()
Classe: Horde_Cipher_des - X-Ref
The Cipher_des:: class implements the Cipher interface encryption datasetKey($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. |
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. |
_initialPerm($input) X-Ref |
Put an input string through an initial permutation param: string $input Input string. return: string Permutated string. |
_finalPerm($input) X-Ref |
Put an input string through a final permutation. param: string $input Input string. return: string Permutated string. |
_f($input, $round) X-Ref |
f() The permutation function. param: string $input Input string. param: integer $round The round. return: string The output string. |
_keySchedule($key) X-Ref |
Create the complete key shedule. param: string $key The key to use. return: array Key schedule. |
Généré le : Sun Feb 25 18:01:28 2007 | par Balluche grâce à PHPXref 0.7 |