terrafrost
0398f7a815
add ECDSA / EdDSA support
2018-11-19 12:39:21 -06:00
terrafrost
405ed06e8a
Merge branch '2.0'
2018-10-13 08:18:47 -05:00
terrafrost
3119bb98e3
Merge branch '1.0' into 2.0
2018-10-13 08:15:46 -05:00
terrafrost
f0f7350045
Crypt/Base: if derived key length is 0 or less use hash length
2018-10-13 08:10:34 -05:00
terrafrost
39d3ffbeb1
Hash: use hash method for sha3 when available
2018-10-13 07:48:47 -05:00
terrafrost
3df87e8632
Merge branch '2.0'
2018-10-13 00:50:48 -05:00
terrafrost
f938922cfc
Merge branch '1.0' into 2.0
2018-10-12 23:05:42 -05:00
terrafrost
2d7aadc689
Hash: tweaks to hash pre-computation
2018-10-12 23:04:57 -05:00
terrafrost
a1513eb02f
Merge branch '2.0'
2018-10-12 22:44:14 -05:00
terrafrost
f5a9c0806a
Merge branch '1.0' into 2.0
2018-10-12 21:44:52 -05:00
terrafrost
685e0abcc6
Hash: save hashed keys for re-use
2018-10-12 21:18:23 -05:00
Filippo Tessarotto
19f706003e
Explain the kraken
2018-10-09 08:35:56 +02:00
terrafrost
7740d9c0c0
Hash: add sha3 support
2018-08-11 23:55:41 -05:00
terrafrost
78eb98311f
Merge branch '2.0'
2018-04-29 16:56:35 -05:00
Bilge
8c299f865f
Fixed some RSA docblock types.
2018-04-25 21:18:51 +01:00
terrafrost
3dae376e9c
Merge remote-tracking branch 'J5lx/2.0-cfb8' into 2.0
2018-03-27 11:06:11 -05:00
Jakob Gahde
8e6948fdd2
Backport CFB8 support from master
2018-03-27 04:32:16 +02:00
Wes
d4a98457bc
Check phpinfo() is available before using
...
Fixes an issue I raised at https://github.com/phpseclib/phpseclib/issues/1255
Proof of logic at https://3v4l.org/RqrHt
I ended up moving more code than discussed in the issue - initially to avoid `$content` being undefined when it came to `preg_match_all()`, but also as it made sense grouping the code that way. Also, initialising `$versions` outside the check, right at the start ensures it's always defined for the `switch` code further down.
2018-03-24 11:05:16 +00:00
luz.paz
380517ef00
Misc. trivial typos
...
Found via `codespell -q 3`
2018-03-03 07:07:14 -05:00
terrafrost
2a6f5f825a
Asymmetric: fix for phar's
...
Inspired by 4e367c9631
2018-02-23 21:15:33 -06:00
terrafrost
b9cd84108c
AES: fix issue preventing ECB mode from decrypting
2018-02-21 08:26:52 -06:00
terrafrost
55384afdac
RSA: make it so you can't sign w/ public key, decrypt w/ private
2018-02-18 16:03:06 -06:00
terrafrost
239a32ff06
Merge pull request #1222 from rrran/extract_func_phpdoc
...
Add PhpDoc @var for extract() functions
2017-12-23 14:18:28 -06:00
Sokolovskyy Roman
b8d826f04f
Trying to fix unit tests
2017-12-21 10:17:30 +01:00
terrafrost
e935c131e3
Merge branch '1.0' into 2.0
2017-12-19 07:27:55 -06:00
terrafrost
c340d62548
Crypt: some of the minimum key lengths were off
2017-12-19 07:04:36 -06:00
terrafrost
19a46748a2
Merge branch '2.0'
2017-12-17 16:25:30 -06:00
terrafrost
37922e5b4c
Merge branch '1.0' into 2.0
2017-12-17 15:05:15 -06:00
terrafrost
6930560ae6
more adjustments for ARM CPU's
2017-12-17 14:52:43 -06:00
terrafrost
4f9e92b380
Merge branch '2.0'
2017-12-09 18:59:25 -06:00
terrafrost
87dd553517
Merge branch '1.0' into 2.0
2017-12-09 18:39:27 -06:00
terrafrost
b25681beeb
fix float to int conversions on ARM CPU's
2017-12-09 18:16:48 -06:00
terrafrost
a96add4526
DSA/Signature/SSH2: fix infrequent error with too short sigs
2017-12-05 00:08:56 -06:00
Sokolovskyy Roman
c705e7d9c6
Add PhpDoc @var for extract() functions
2017-12-04 11:11:43 +01:00
terrafrost
defe0514a9
Random: CS adjustment
2017-12-03 22:42:58 -06:00
terrafrost
f0b1439639
Merge branch '2.0-travis-exp' into master-travis-exp
2017-12-03 22:41:02 -06:00
terrafrost
2f3c9197d9
Merge branch '1.0-travis-exp' into 2.0-travis-exp
2017-12-03 22:40:31 -06:00
terrafrost
ab5158dcd3
Random: return empty string if $length is 0
2017-12-03 22:39:01 -06:00
Sokolovskyy Roman
ee8f5e9769
Get rid of func_get_args()
2017-11-21 09:36:28 +01:00
terrafrost
ec579bd9ed
revisions to rrran's PHPDoc changes
2017-11-05 14:35:27 -06:00
Sokolovskyy Roman
f40ea062c2
Lots of PHPDoc fixes
2017-10-25 11:44:14 +02:00
terrafrost
0a912b4818
Merge pull request #1193 from eternalharvest/bugfix/doccomment
...
Fix wrong doccomment annotation and Suggestion
2017-10-10 06:03:03 -05:00
Takuya Sawada
9e037309b9
SymmetricKey: refactor to simplify the code
2017-10-10 19:06:14 +09:00
Takuya Sawada
65cbc60918
SymmetricKey: fix indent style to follows the PSR-2 codeing style
2017-10-10 19:02:55 +09:00
terrafrost
245e7a15ca
Merge branch '1.0' into 2.0
2017-10-05 05:37:56 -05:00
terrafrost
29fabaaa18
RSA: replace != with !$this->_equals
2017-10-05 05:31:19 -05:00
terrafrost
d1470644a2
Merge branch '1.0' into 2.0
2017-10-05 05:28:47 -05:00
terrafrost
aeb8a98a25
Crypt/Base: fix version_compare call
2017-10-05 05:28:16 -05:00
terrafrost
33de8b82d6
Merge branch '1.0' into 2.0
2017-10-05 05:26:49 -05:00
terrafrost
042c8a9239
RC4: don't assume key is "\0" by default
2017-10-05 05:26:23 -05:00