mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-26 03:27:31 +00:00
Merge branch '2.0-phpdoc'
This commit is contained in:
commit
8936593317
@ -255,7 +255,7 @@ class Blowfish extends Base
|
|||||||
/**
|
/**
|
||||||
* P-Array consists of 18 32-bit subkeys
|
* P-Array consists of 18 32-bit subkeys
|
||||||
*
|
*
|
||||||
* @var array $parray
|
* @var array
|
||||||
* @access private
|
* @access private
|
||||||
*/
|
*/
|
||||||
var $parray = array(
|
var $parray = array(
|
||||||
@ -269,7 +269,7 @@ class Blowfish extends Base
|
|||||||
*
|
*
|
||||||
* Holds the expanded key [p] and the key-depended s-boxes [sb]
|
* Holds the expanded key [p] and the key-depended s-boxes [sb]
|
||||||
*
|
*
|
||||||
* @var array $bctx
|
* @var array
|
||||||
* @access private
|
* @access private
|
||||||
*/
|
*/
|
||||||
var $bctx;
|
var $bctx;
|
||||||
|
@ -138,7 +138,6 @@ class Rijndael extends Base
|
|||||||
* because the encryption / decryption / key schedule creation requires this number and not $block_size. We could
|
* because the encryption / decryption / key schedule creation requires this number and not $block_size. We could
|
||||||
* derive this from $block_size or vice versa, but that'd mean we'd have to do multiple shift operations, so in lieu
|
* derive this from $block_size or vice versa, but that'd mean we'd have to do multiple shift operations, so in lieu
|
||||||
* of that, we'll just precompute it once.
|
* of that, we'll just precompute it once.
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
var $Nb = 4;
|
var $Nb = 4;
|
||||||
|
|
||||||
|
@ -16,8 +16,8 @@
|
|||||||
* if (!$ssh->login('username', 'password')) {
|
* if (!$ssh->login('username', 'password')) {
|
||||||
* exit('bad login');
|
* exit('bad login');
|
||||||
* }
|
* }
|
||||||
|
|
||||||
* $scp = new \phpseclib\Net\SCP($ssh);
|
* $scp = new \phpseclib\Net\SCP($ssh);
|
||||||
|
|
||||||
* $scp->put('abcd', str_repeat('x', 1024*1024));
|
* $scp->put('abcd', str_repeat('x', 1024*1024));
|
||||||
* ?>
|
* ?>
|
||||||
* </code>
|
* </code>
|
||||||
|
Loading…
Reference in New Issue
Block a user