horde-cipher
[ class tree: horde-cipher ] [ index: horde-cipher ] [ all elements ]

Class: Horde_Cipher_blowfish

Source Location: /lib/blowfish.php

Class Overview




Methods



Class Details

[line 26]


[ Top ]


Class Methods


method Cipher_blowfish [line 302]

void Cipher_blowfish( [ $params = null])



Parameters:

   $params  

[ Top ]

method decryptBlock [line 434]

String decryptBlock( String $block, [optional $key = null])

Decrypt a block on data.



Tags:

return:  the decrypted output


Parameters:

String   $block   The data to decrypt
optional   $key   String $key The key to use

[ Top ]

method encryptBlock [line 383]

String encryptBlock( String $block, [optional $key = null])

Encrypt a block on data.



Tags:

return:  the encrypted output


Parameters:

String   $block   The data to encrypt
optional   $key   String $key The key to use

[ Top ]

method getBlockSize [line 370]

Integer getBlockSize( )

Return the size of the blocks that this cipher needs



Tags:

return:  The number of characters per block


[ Top ]

method setKey [line 311]

void setKey( String $key)

Set the key to be used for en/decryption



Parameters:

String   $key   The key to use

[ Top ]

method _encryptBlock [line 402]

String _encryptBlock( String $L, String $R)

Encrypt a block on data.



Tags:

return:  The encrypted output.


Parameters:

String   $L   The data to encrypt.
String   $R   The data to encrypt.

[ Top ]

method _formatKey [line 476]

array _formatKey( $key)

Converts a text key into an array.



Tags:

return:  The key.


Parameters:

   $key  

[ Top ]


Documentation generated on Sun, 30 Dec 2007 17:49:18 -0800 by phpDocumentor 1.3.1