The Cipher_cast128:: class implements the Cipher interface encryption data using the CAST128 (aka Cast5) algorithm as defined in RFC2144.
$Horde: framework/Cipher/Cipher/cast128.php,v 1.7.12.12 2009/01/06 15:22:57 jan Exp $
Copyright 2002-2009 The Horde Project (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
Located in /Cipher/Cipher/cast128.php (line 17)
Horde_Cipher | --Horde_Cipher_cast128
S box (s1)
S box (s2)
S box (s3)
S box (s4)
S box (s5)
S box (s6)
S box (s7)
S box (s8)
Masking Keys
Rotate Keys
The number of rounds to do
Inherited from Horde_Cipher
Horde_Cipher::$_blockMode
Horde_Cipher::$_iv
Decrypt a block of data.
Encrypt a block of data.
f1()
f2()
f3()
Return the size of the blocks that this cipher needs.
Set the key to be used for en/decryption.
Pack four 8 bit values into one 32 bit value.
Convert a string into a array of the ordinates of its characters.
Converts a text key into an array padded with \0's to a length of 128 bits.
Create the complete key shedule.
Unpack the 32 bit value into an array of four 8 bit values.
Inherited From Horde_Cipher
Horde_Cipher::decrypt()
Horde_Cipher::encrypt()
Horde_Cipher::factory()
Horde_Cipher::setBlockMode()
Horde_Cipher::setIV()
Documentation generated on Sun, 30 Jan 2011 05:15:43 +0000 by phpDocumentor 1.4.3