1
0
mirror of https://github.com/danog/tgseclib.git synced 2024-11-30 04:39:02 +01:00

Undo last commit

This commit is contained in:
terrafrost 2013-01-30 08:37:50 -06:00
parent bfb04dcf4d
commit 248e3bb085
14 changed files with 2 additions and 200 deletions

View File

@ -242,20 +242,6 @@ class Crypt_AES extends Crypt_Rijndael {
}
}
/**
* PHP5-only Default Constructor.
*
* Intended mainly to simplify namespacing for those who might wish to do it.
*
* @param optional Integer $mode
* @return Crypt_AES
* @access public
*/
function __construct($mode = CRYPT_AES_MODE_CBC)
{
$this->Crypt_AES($mode);
}
/**
* Dummy function
*
@ -269,6 +255,7 @@ class Crypt_AES extends Crypt_Rijndael {
return;
}
/**
* Sets the initialization vector. (optional)
*

View File

@ -349,20 +349,6 @@ class Crypt_DES {
}
}
/**
* PHP5-only Default Constructor.
*
* Intended mainly to simplify namespacing for those who might wish to do it.
*
* @param optional Integer $mode
* @return Crypt_DES
* @access public
*/
function __construct($mode = CRYPT_DES_MODE_CBC)
{
$this->Crypt_DES($mode);
}
/**
* Sets the key.
*

View File

@ -162,20 +162,6 @@ class Crypt_Hash {
$this->setHash($hash);
}
/**
* PHP5-only Default Constructor.
*
* Intended mainly to simplify namespacing for those who might wish to do it.
*
* @param optional String $hash
* @return Crypt_Hash
* @access public
*/
function __construct($hash = 'sha1')
{
$this->Crypt_Hash($hash);
}
/**
* Sets the key for HMACs
*

View File

@ -167,6 +167,7 @@ class Crypt_RC4 {
*
* Determines whether or not the mcrypt extension should be used.
*
* @param optional Integer $mode
* @return Crypt_RC4
* @access public
*/
@ -197,19 +198,6 @@ class Crypt_RC4 {
}
}
/**
* PHP5-only Default Constructor.
*
* Intended mainly to simplify namespacing for those who might wish to do it.
*
* @return Crypt_RC4
* @access public
*/
function __construct()
{
$this->Crypt_RC4();
}
/**
* Sets the key.
*

View File

@ -487,19 +487,6 @@ class Crypt_RSA {
$this->mgfHLen = $this->mgfHash->getLength();
}
/**
* PHP5-only Default Constructor.
*
* Intended mainly to simplify namespacing for those who might wish to do it.
*
* @return Crypt_RSA
* @access public
*/
function __construct()
{
$this->Crypt_RSA();
}
/**
* Create public / private key pair
*

View File

@ -520,20 +520,6 @@ class Crypt_Rijndael {
}
}
/**
* PHP5-only Default Constructor.
*
* Intended mainly to simplify namespacing for those who might wish to do it.
*
* @param optional Integer $mode
* @return Crypt_Rijndael
* @access public
*/
function __construct($mode = CRYPT_RIJNDAEL_MODE_CBC)
{
$this->Crypt_Rijndael($mode);
}
/**
* Sets the key.
*

View File

@ -331,20 +331,6 @@ class Crypt_TripleDES {
}
}
/**
* PHP5-only Default Constructor.
*
* Intended mainly to simplify namespacing for those who might wish to do it.
*
* @param optional Integer $mode
* @return Crypt_TripleDES
* @access public
*/
function __construct($mode = CRYPT_DES_MODE_CBC)
{
$this->Crypt_TripleDES($mode);
}
/**
* Sets the key.
*

View File

@ -219,19 +219,6 @@ class File_ANSI {
$this->setDimensions(80, 24);
}
/**
* PHP5-only Default Constructor.
*
* Intended mainly to simplify namespacing for those who might wish to do it.
*
* @return Crypt_ANSI
* @access public
*/
function __construct()
{
$this->Crypt_ANSI();
}
/**
* Set terminal width and height
*

View File

@ -144,20 +144,6 @@ class File_ASN1_Element {
{
$this->element = $encoded;
}
/**
* PHP5-only Default Constructor.
*
* Intended mainly to simplify namespacing for those who might wish to do it.
*
* @param String $encoded
* @return File_ASN1_Element
* @access public
*/
function __construct($encoded)
{
$this->File_ASN1_Element($encoded);
}
}
/**

View File

@ -1406,19 +1406,6 @@ class File_X509 {
);
}
/**
* PHP5-only Default Constructor.
*
* Intended mainly to simplify namespacing for those who might wish to do it.
*
* @return File_X509
* @access public
*/
function __construct()
{
$this->File_X509();
}
/**
* Load X.509 certificate
*

View File

@ -455,21 +455,6 @@ class Math_BigInteger {
}
}
/**
* PHP5-only Default Constructor.
*
* Intended mainly to simplify namespacing for those who might wish to do it.
*
* @param optional $x base-10 number or base-$base number if $base set.
* @param optional integer $base
* @return Math_BigInteger
* @access public
*/
function __construct($x = 0, $base = 10)
{
$this->Math_BigInteger($x, $base);
}
/**
* Converts a BigInteger to a byte string (eg. base-256).
*

View File

@ -348,22 +348,6 @@ class Net_SFTP extends Net_SSH2 {
);
}
/**
* PHP5-only Default Constructor.
*
* Intended mainly to simplify namespacing for those who might wish to do it.
*
* @param String $host
* @param optional Integer $port
* @param optional Integer $timeout
* @return Net_SFTP
* @access public
*/
function __construct($host, $port = 22, $timeout = 10)
{
$this->Net_SFTP($host, $port, $timeout);
}
/**
* Login
*

View File

@ -664,23 +664,6 @@ class Net_SSH1 {
$this->bitmap = NET_SSH1_MASK_CONSTRUCTOR;
}
/**
* PHP5-only Default Constructor.
*
* Intended mainly to simplify namespacing for those who might wish to do it.
*
* @param String $host
* @param optional Integer $port
* @param optional Integer $timeout
* @param optional Integer $cipher
* @return Net_SSH1
* @access public
*/
function __construct($host, $port = 22, $timeout = 10, $cipher = NET_SSH1_CIPHER_3DES)
{
$this->__construct($host, $port, $timeout, $cipher);
}
/**
* Login
*

View File

@ -900,22 +900,6 @@ class Net_SSH2 {
$this->bitmap = NET_SSH2_MASK_CONSTRUCTOR;
}
/**
* PHP5-only Default Constructor.
*
* Intended mainly to simplify namespacing for those who might wish to do it.
*
* @param String $host
* @param optional Integer $port
* @param optional Integer $timeout
* @return Net_SSH2
* @access public
*/
function __construct($host, $port = 22, $timeout = 10)
{
$this->Net_SSH2($host, $port, $timeout);
}
/**
* Key Exchange
*