terrafrost
1dfd315725
RSA: use public / private / protected
2016-12-10 19:09:54 -06:00
terrafrost
c852bae3c8
use short array syntax for arrays
2016-11-30 21:29:38 -06:00
terrafrost
370fbec300
ASN1: don't require octet / bit strings be base64-encoded
2016-11-28 20:51:21 -06:00
terrafrost
874ada8d93
ASN1: make methods static
2016-11-27 22:38:11 -06:00
terrafrost
863ff6789b
RSA: refactor PKCS1/PKCS8 to facilitate re-use
2016-11-17 08:09:10 -06:00
terrafrost
8019baee62
BigInteger: add randomRange / randomPrimeRange
...
...and redo random / randomPrime such that they take the byte size
as the parameter instead of the range.
2016-09-17 19:48:51 -07:00
terrafrost
c17a2604a0
Merge branch 'master-reorg'
2016-09-17 09:15:11 -07:00
klemens
dd23d91d41
spelling fixes
2016-08-04 00:47:52 -05:00
terrafrost
d64599f799
Move _encodeLength and _decodeLength to Common\Functions\ASN1.php
2016-07-31 09:37:13 -05:00
terrafrost
c509909004
Organizational Revamp
...
- rename \phpseclib\Crypt\Base to \phpseclib\Crypt\Common\SymmetricKey
- create BlockCipher and StreamCipher to extend SymmetricKey
- replace _string_shift with \phpseclib\Common\Functions\Strings::shift
2016-07-30 22:18:06 -05:00
terrafrost
c12500cace
RSA: code cleanup
2016-07-28 13:08:47 -05:00
terrafrost
caa7eed299
Merge branch '2.0'
2016-07-28 11:00:33 -05:00
terrafrost
eff01fba0e
RSA: update phpdoc for 2.0 branch
2016-07-28 11:00:16 -05:00
terrafrost
61d0326bb6
Merge branch '1.0' into 2.0
2016-07-28 10:59:37 -05:00
terrafrost
b9f072bf03
RSA: phpdoc updates
2016-07-28 10:58:27 -05:00
terrafrost
4516227f13
Merge branch '2.0'
2016-06-21 22:55:33 -05:00
terrafrost
b08f17f514
Merge branch '1.0' into 2.0
2016-06-21 22:39:05 -05:00
andrewbelcher
dd754283bb
Fix zero salt length RSA signatures.
2016-06-21 22:33:47 -05:00
terrafrost
7bdb09c4bd
Merge branch '1.0' into 2.0
2016-06-18 23:29:33 -05:00
terrafrost
6ff421d354
BigInteger/RSA: don't compare openssl versions > 1.0
2016-06-18 23:28:33 -05:00
terrafrost
7a628c62b0
don't do phpinfo() check
2016-06-11 20:29:02 -05:00
terrafrost
fc2a7cef20
RSA: adjustments for master branch
2016-06-04 23:46:40 -05:00
terrafrost
39913e1248
Merge branch 'master' of https://github.com/phpseclib/phpseclib
2016-06-04 22:58:32 -05:00
terrafrost
6b66c1cd52
Merge branch '2.0'
2016-06-04 22:56:55 -05:00
terrafrost
87040bc518
Merge branch '1.0' into 2.0
2016-06-04 22:56:49 -05:00
terrafrost
e2a0b701c7
remove a few calls to paragonie/constant_time_encoding
...
- Hex::decode('aabb') can be replaced with "\xaa\xbb"
- Hex::decode(sha1('...')) can be replaced with sha1('...', true)
2016-06-04 22:31:23 -05:00
Paragon Initiative Enterprises
0e8fa93676
Use paragonie/constant_time_encoding
2016-05-12 16:28:40 -04:00
terrafrost
942d194d0a
RSA: don't attempt to use the CRT when zero value components exist
2016-05-09 13:46:28 -05:00
terrafrost
c784d9e1e5
reapply PR #931
2016-05-08 01:34:37 -05:00
terrafrost
1f138916fa
Merge branch '2.0'
2016-05-07 02:40:04 -05:00
terrafrost
a3d3dbd957
Merge branch '1.0' into 2.0
2016-05-07 02:39:17 -05:00
terrafrost
bf31e976c7
RSA: fix PHP4 compatability issue
2016-05-06 22:18:12 -05:00
terrafrost
398a795e1f
Revert "undo merging of master to 2.0 branch"
...
This reverts commit 8fb4c3363d
.
2016-04-30 16:23:35 -05:00
terrafrost
8fb4c3363d
undo merging of master to 2.0 branch
2016-04-28 15:34:10 -05:00
terrafrost
b4cf10fc94
Revert "Merge branch '2.0'"
...
This reverts commit be5f4ef6b19c82f6c898708cc8e1828b05e3d4e8, reversing
changes made to 638fe6971c
.
2016-04-10 11:30:59 -05:00
terrafrost
4b69dcb1ca
Revert "Merge remote-tracking branch 'bantu/bootstrap'"
...
This reverts commit ef04c870e9
, reversing
changes made to cd57bf31ae
.
2016-04-10 11:25:31 -05:00
terrafrost
263564a2ee
Merge branch 'master' of https://github.com/phpseclib/phpseclib
2016-04-09 13:00:51 -05:00
terrafrost
86646fdf40
RSA: PKCS1 v2.2 also added sha224
2016-04-09 12:57:23 -05:00
terrafrost
9cf93a02b3
Merge branch '2.0'
2016-04-03 21:37:52 -05:00
terrafrost
a7f2a5d9c9
Merge branch '1.0' into 2.0
2016-04-03 21:34:45 -05:00
terrafrost
ac97ce5d69
RSA: backport macdabby's changes
2016-04-03 21:34:11 -05:00
terrafrost
3b37619279
Tests/RSA: add unit test for setPrivateKey
2016-04-03 21:16:37 -05:00
DAB
89a73161cb
set publicExponent to false instead of unsetting
2016-03-25 22:10:36 -05:00
terrafrost
be0aed43cf
RSA: bring PKCS1 compliancy to v2.2
2016-03-24 13:38:51 -05:00
terrafrost
698efd030a
RSA: fix namespacing for caught exceptions
2016-02-20 23:54:19 -06:00
terrafrost
750f7652c7
Merge remote-tracking branch 'joey3000/use_cleanup'
2016-01-25 17:00:30 -06:00
Joey3000
bdc28b9453
Cherry-picking cleanup of use
operator usage
...
Picked c9a80ff748
to the 2.0 branch and resolved conflicts.
2016-01-21 19:41:41 +01:00
Joey3000
c9a80ff748
Cleanup of use
operator usage
...
This does the following:
1. Removes superfluous usage of the `use` operator. Specifically, that operator is not needed to use classes in the same `namespace` as the object (see https://secure.php.net/manual/en/language.namespaces.rules.php ).
2. While at it, also sorted the `use` operators alphabetically, for a better overview.
2016-01-18 05:05:31 +01:00
terrafrost
5d85d5eca1
RSA: error out when encrypting strings that are too long
2016-01-17 09:45:13 -06:00
terrafrost
ad4c3670d3
Merge branch 'biginteger-revamp'
2016-01-16 22:59:19 -06:00