mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-17 02:35:10 +00:00
RC2: rm empty constructor
This commit is contained in:
parent
640f10609f
commit
d68975117c
@ -332,34 +332,6 @@ class Crypt_RC2 extends Crypt_Base
|
|||||||
0x70, 0x02, 0xC2, 0x1E, 0xB8, 0x0A, 0xFC, 0xE6
|
0x70, 0x02, 0xC2, 0x1E, 0xB8, 0x0A, 0xFC, 0xE6
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
|
||||||
* Default Constructor.
|
|
||||||
*
|
|
||||||
* Determines whether or not the mcrypt extension should be used.
|
|
||||||
*
|
|
||||||
* $mode could be:
|
|
||||||
*
|
|
||||||
* - CRYPT_RC2_MODE_ECB
|
|
||||||
*
|
|
||||||
* - CRYPT_RC2_MODE_CBC
|
|
||||||
*
|
|
||||||
* - CRYPT_RC2_MODE_CTR
|
|
||||||
*
|
|
||||||
* - CRYPT_RC2_MODE_CFB
|
|
||||||
*
|
|
||||||
* - CRYPT_RC2_MODE_OFB
|
|
||||||
*
|
|
||||||
* If not explicitly set, CRYPT_RC2_MODE_CBC will be used.
|
|
||||||
*
|
|
||||||
* @see Crypt_Base::Crypt_Base()
|
|
||||||
* @param int $mode
|
|
||||||
* @access public
|
|
||||||
*/
|
|
||||||
function Crypt_RC2($mode = CRYPT_RC2_MODE_CBC)
|
|
||||||
{
|
|
||||||
parent::Crypt_Base($mode);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Test for engine validity
|
* Test for engine validity
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user