Clint Nelissen
c70702afbb
Namespaced Crypt\Random
2014-12-02 08:41:30 -08:00
Clint Nelissen
9c0c3faeb7
Initial commit
2014-12-01 18:54:44 -08:00
Andreas Fischer
0e38dc4951
Merge branch 'master' into php5
...
* master:
Restore compatibility with PHP 5.6.1 by using explicit array indexes.
2014-10-19 20:46:15 +02:00
Andreas Fischer
ad03d84461
Restore compatibility with PHP 5.6.1 by using explicit array indexes.
...
This seems to be caused by the resolution of PHP Ticket 67985.
2014-10-19 20:24:13 +02:00
Andreas Fischer
da02246cc4
Merge branch 'master' into php5
...
* master:
BigInteger: accomodate GMP change in PHP 5.6
2014-09-27 22:57:59 +02:00
terrafrost
a43dd38365
BigInteger: accomodate GMP change in PHP 5.6
2014-09-27 12:52:54 -05:00
Andreas Fischer
c59750562a
Merge branch 'master' into php5
...
* master:
BigInteger: fix previous fix
BigInteger: small optimization to bitwise_not
2014-08-12 11:30:30 +02:00
terrafrost
33182bb2de
BigInteger: fix previous fix
2014-08-10 14:47:08 -05:00
terrafrost
4ce7a0f63a
BigInteger: small optimization to bitwise_not
2014-08-10 02:03:58 -05:00
Andreas Fischer
e4516fb453
Merge branch 'master' into php5
...
* master:
Add some test cases for SHA512.
Use toBits() as there is no bits property.
SSH2: Disallow the none MAC.
2014-07-26 17:20:09 +02:00
Andreas Fischer
737c8a9d0f
Use toBits() as there is no bits property.
2014-07-26 13:43:57 +02:00
Andreas Fischer
fc417115be
Merge branch 'master' into php5
...
* master:
BigInteger: one more change to the comments
BigInteger: update comments
BigInteger: unit test update
BigInteger: change argument names for random / randomPrime
BigInteger: fix unit tests
BigInteger: fix syntax error
BigInteger: make it so you can do $min->random($max)
Conflicts:
phpseclib/Math/BigInteger.php
2014-06-16 17:00:00 +02:00
terrafrost
4b9eb4af27
BigInteger: one more change to the comments
2014-06-16 09:23:34 -05:00
terrafrost
0eb0ae7ff7
BigInteger: update comments
2014-06-16 09:09:26 -05:00
terrafrost
34a971d317
BigInteger: change argument names for random / randomPrime
2014-06-14 23:49:57 -05:00
terrafrost
f8f0bd44b7
BigInteger: fix syntax error
2014-06-14 19:20:05 -05:00
terrafrost
46166c7351
BigInteger: make it so you can do $min->random($max)
...
...and $min->randomPrime($max) as well
2014-06-14 14:07:33 -05:00
Andreas Fischer
65ec4dc8bc
Some more documentation polishing in Math/BigInteger.php.
2014-06-02 20:19:00 +02:00
Andreas Fischer
a011596578
Replace new Math_BigInteger with new static.
2014-06-02 20:19:00 +02:00
Andreas Fischer
740422c65f
Reference to instances as BigInteger instead of Math_BigInteger.
2014-06-02 20:19:00 +02:00
Andreas Fischer
00f77ab341
Use namespace in example code.
2014-06-02 20:19:00 +02:00
Andreas Fischer
ae4099dc64
Remove any include statement.
2014-06-02 20:19:00 +02:00
Andreas Fischer
8dff257cae
Add namespace statement. Rename class.
2014-06-02 20:17:18 +02:00
Andreas Fischer
7d9598a21e
Use __construct.
2014-06-02 20:17:18 +02:00
Andreas Fischer
6f4a873cad
Merge branch 'master' into php5
...
* master:
Adjust documentation to coding guidelines: No () around include.
2014-06-02 12:51:24 +02:00
Andreas Fischer
e6f87318f5
Adjust documentation to coding guidelines: No () around include.
2014-06-01 23:28:49 +02:00
Andreas Fischer
4a89349615
Merge branch 'master' into php5
...
* master:
BigInteger: "be less overly clever loading Crypt/Random"
2014-05-30 15:50:36 +02:00
terrafrost
7c08ab71d3
BigInteger: "be less overly clever loading Crypt/Random"
...
pretty much the same as this commit:
28f18f83ec
2014-05-29 16:31:26 -05:00
Andreas Fischer
b7ebb1e0e3
Merge branch 'master' into php5
...
* master:
BigInteger: speedup internal mode slightly
2014-05-06 00:49:46 +02:00
terrafrost
309c8fd555
BigInteger: speedup internal mode slightly
...
Changes should yield a slight speedup per the analysis at https://github.com/phpseclib/phpseclib/pull/317#issuecomment-42122335
2014-05-05 11:34:45 -05:00
Andreas Fischer
1d01f56f28
Merge branch 'master' into php5
...
* master:
BigInteger: update comments and add test case
BigInteger: fix some int64 issues
2014-04-29 16:32:59 +02:00
terrafrost
9eb6e1ed67
BigInteger: update comments and add test case
2014-04-29 16:32:25 +02:00
terrafrost
e4ff01f054
BigInteger: fix some int64 issues
2014-04-29 16:32:25 +02:00
Andreas Fischer
5cfe1560a0
Merge branch 'master' into php5
...
* master:
BigInteger: explain precense of uncallable code
2014-04-19 14:05:12 +02:00
terrafrost
0cbb631852
BigInteger: explain precense of uncallable code
2014-04-18 23:43:03 -05:00
Andreas Fischer
7348ab6ef7
Remove deprecated method Math_BigInteger::setRandomGenerator().
2014-04-13 01:04:37 +02:00
terrafrost
a8c2ff0fb0
add error suppression to phpinfo()
...
bad timezone settings can make phpinfo() throw errors so we'll just
suppress them. if there are legit non-timezone errors with php install
those will probably be hit in other parts of the code
2014-03-30 10:15:08 -05:00
Andreas Fischer
fb1296bbec
Drop meaningless, outdated, inconsistent version tags in doc blocks.
...
find phpseclib -type f -name "*.php" -exec sed -i '/@version/d' {} \;
2014-03-11 15:58:33 +01:00
Veres Lajos
930a3fb4d2
typofixes - https://github.com/vlajos/misspell_fixer
2014-03-05 23:41:20 +00:00
Andreas Fischer
c1597f4533
Remove HTML from BigInteger code example.
2014-03-01 01:40:28 +01:00
Andreas Fischer
8bb80b3df0
CS: Add useful whitespace CodeSniffer rules.
2013-12-26 00:33:08 +01:00
Andreas Fischer
f0f029b2c1
CS: Fix "PEAR.Commenting.ClassComment.WrongTagOrder" sniff.
2013-12-11 18:33:18 +01:00
Andreas Fischer
3db1fbb072
CS: Fix "PEAR.Commenting.FileComment.TagIndent" sniff.
2013-12-10 20:10:37 +01:00
Andreas Fischer
ef2c50f9e0
Ignore coding style for "HAC 4.49" block in Math/BigInteger.php.
2013-12-03 21:04:13 +01:00
Andreas Fischer
e09f1b730e
CodeSniffer: Fix PEAR.Classes.ClassDeclaration.OpenBraceNewLine sniff.
2013-12-03 19:34:41 +01:00
Marc Philip Scholten
3bfd884813
Removed vim comments
...
Reformated files
2013-11-23 19:42:26 +01:00
terrafrost
77447a3fc7
BigInteger, RSA: updates to OpenSSL version detection code
2013-09-20 12:14:01 -05:00
terrafrost
54f0f2131b
RSA, BigInteger: add more openssl checks
2013-09-10 11:07:56 -05:00
terrafrost
442922ff0a
BigInteger: refactor random number generation code somewhat
2013-08-06 23:17:49 -05:00
terrafrost
30408ff8fb
BigInteger: define $p
2013-06-18 09:31:33 -04:00