Jim Wigginton
a4e72f7811
- replaced list(...) = unpack('...') calls with extract(unpack('...')) (thanks martinu!)
...
- added pure-php implementations of md2, sha256, and sha512 to Crypt_Hash
- added setPrecision() to Math_BigInteger
- other small fixes
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@56 21d32557-59b3-4da0-833f-c5933fad653e
2009-11-23 19:06:07 +00:00
Jim Wigginton
d7da8972ab
- fixed a few E_NOTICE errors
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@55 21d32557-59b3-4da0-833f-c5933fad653e
2009-11-04 17:23:58 +00:00
Jim Wigginton
839ea8c18b
- speed improvements
...
- added several new functions: isPrime(), randomPrime(), setRandomGenerator(), equals(), and toHex()
- fixed a bug in divide()
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@53 21d32557-59b3-4da0-833f-c5933fad653e
2009-11-03 22:00:10 +00:00
Jim Wigginton
672390d159
- fixed an error where, under rare conditions, addition could yield bad results
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@52 21d32557-59b3-4da0-833f-c5933fad653e
2009-10-28 16:16:00 +00:00
Jim Wigginton
91a9079cf9
- apparently some systems can't handle floating point numbers defined directly (thanks, sjarkie!)
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@48 21d32557-59b3-4da0-833f-c5933fad653e
2009-10-02 21:34:13 +00:00
Jim Wigginton
23c41a60e8
- fixed two E_NOTICE errors in Math_BigInteger (thanks, arr2036!)
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@45 21d32557-59b3-4da0-833f-c5933fad653e
2009-09-02 19:20:48 +00:00
Jim Wigginton
84cffb3c02
- fixed another potential E_NOTICE error (thanks, Wang Xiaoguang!)
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@44 21d32557-59b3-4da0-833f-c5933fad653e
2009-08-30 15:10:05 +00:00
Jim Wigginton
9194759d58
- cosmetic changes to the code
...
- encryption should work even when setKey() isn't called
- padding wasn't always done when it should have been
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@33 21d32557-59b3-4da0-833f-c5933fad653e
2009-05-27 16:15:23 +00:00
Jim Wigginton
0258f565b5
- added support for 'none' encryption
...
- fixed a bug that would cause large ssh packets to error out
- added placeholders for compression support (PHP's zlib functions are insufficient)
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@31 21d32557-59b3-4da0-833f-c5933fad653e
2009-05-16 17:09:37 +00:00
Jim Wigginton
8b02a6bf55
- precission -> precision (php.net bug # 16027)
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@28 21d32557-59b3-4da0-833f-c5933fad653e
2009-04-18 14:57:54 +00:00
Jim Wigginton
736bfab276
- fix E_NOTICE notices
...
- renamed hmac() -> hash() in SSH2.php
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@23 21d32557-59b3-4da0-833f-c5933fad653e
2009-02-26 17:25:03 +00:00
Jim Wigginton
a8e70cbaa5
- forgot to add AES
...
- added __toString() to BigInteger.php (thanks, Techie-Michael!)
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@22 21d32557-59b3-4da0-833f-c5933fad653e
2009-02-16 23:11:01 +00:00
Jim Wigginton
01c841a0a0
- replaced "\t" with " "
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@17 21d32557-59b3-4da0-833f-c5933fad653e
2008-05-25 07:28:57 +00:00
Jim Wigginton
2dcde34387
- fixed php.net bug 13324 - Method BigInteger::bitwise_or produces wrong result
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@10 21d32557-59b3-4da0-833f-c5933fad653e
2008-03-12 22:03:08 +00:00
Jim Wigginton
df0fe2386a
- added SSH2.php and HMAC.php
...
- fixed issue with the IV's in TripleDES.php and DES.php
- fixed decryption in TripleDES.php using CRYPT_DES_MODE_INTERNAL
- renamed CRYPT_DES_MODE_SSH to CRYPT_DES_MODE_3CBC
- added CRYPT_DES_MODE_CBC3 as an alias for CRYPT_DES_MODE_CBC
- fixed issue with RC4.php using CRYPT_RC4_MODE_MCRYPT
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@4 21d32557-59b3-4da0-833f-c5933fad653e
2007-07-23 05:21:39 +00:00
Jim Wigginton
367ddebf80
- initial commit
...
git-svn-id: http://phpseclib.svn.sourceforge.net/svnroot/phpseclib/trunk@3 21d32557-59b3-4da0-833f-c5933fad653e
2007-07-02 04:19:55 +00:00