terrafrost
10e57d6a5e
Merge branch '3.0'
2023-09-21 15:10:50 -05:00
terrafrost
d25f03be9a
Merge branch '2.0' into 3.0
2023-09-21 15:10:42 -05:00
terrafrost
76e94055f4
Merge branch '1.0' into 2.0
2023-09-21 15:08:28 -05:00
terrafrost
b1bd715445
Rijndael: fix for PHP 8.3+ compatability
2023-09-21 15:07:38 -05:00
terrafrost
2cc785fc54
Rijndael: fix E_DEPRECATED
...
bfba3db1a7
removed setKey() from the 1.0 branch, however, 5321b9b610
reintroduced it. that merge commit had conflicts and the conflicts were (apparently) inappropriately resolved
2023-09-06 09:09:11 -05:00
Jack Worman
985b3c4f7c
Throw \phpseclib3\Exception\ExceptionInterface exceptions
2022-09-26 07:41:32 -05:00
terrafrost
88fbf6ab97
Merge branch '1.0' into 2.0
2022-08-28 10:34:26 -05:00
terrafrost
1168ba4d27
backport 3.0's PHP 8.1 32-bit fixes
2022-08-28 09:54:08 -05:00
terrafrost
2f3555a9b4
Merge branch '3.0'
2022-08-27 06:16:19 -05:00
terrafrost
c5a9ee5234
fix deprecated implicit float to int on 32-bit PHP 8.1
2022-08-27 05:53:55 -05:00
Jack Worman
510a93a50a
Php 7.3
...
- Update php requirement to >=7.3
- Add php-cs-fixer rule: @PHP73Migration
2022-07-22 21:45:53 -05:00
terrafrost
a699dadb03
tweak comments
2022-07-22 19:16:04 -05:00
Jack Worman
e210166f43
Php 7.1 Upgrade
2022-07-08 08:37:58 -05:00
Jack Worman
86ef8ef262
2nd round of comments
2022-07-02 16:47:49 -05:00
Jack Worman
97902d4bd3
Upgrade to PHP 7.0
2022-07-02 16:26:15 -05:00
Jack Worman
8855351cbb
Remove_@access
2022-05-04 01:35:56 -05:00
Jack Worman
ea9f6540f3
PSR12 fixes
...
PSR12 fixes
2022-02-19 17:06:13 -06:00
Jack Worman
ef66d9f7dd
php-cs-fixer ci
...
php-cs-fixer ci
2022-02-01 20:29:48 -06:00
terrafrost
03e9060cbb
cipher_name_openssl_ecb shouldn't be static because of AES
2021-04-14 05:24:03 -05:00
terrafrost
a18b86ae26
add mode to all block cipher examples
2021-02-04 01:06:14 -06:00
terrafrost
d096769654
Rijndael: calling setIV() after setBlockLength() can result in err
2021-02-02 20:21:56 -06:00
terrafrost
a19b5b4ca8
update how @internal phpdoc attributes are used
2020-12-30 05:05:54 -06:00
terrafrost
653dbd7f94
rename phpseclib/phpseclib to phpseclib/phpseclib3 for 3.0 branch
2019-11-21 19:38:03 -06:00
terrafrost
eddbdcc66c
don't re-generate Eval mode stuff when only IV has changed
2019-09-06 05:37:13 -05:00
terrafrost
23ffa6452e
revisions to gocom's code changes
2019-08-28 07:16:24 -05:00
Jukka Svahn
488433e10f
Fix mode mapping order and param type
2019-08-24 02:06:45 +03:00
terrafrost
17e6938fba
updates to Exceptions
2018-12-31 09:55:32 -06:00
terrafrost
f98e0afc76
AES: move GCM code to Rijndael
2018-12-30 02:15:06 -06:00
terrafrost
a8d07e3dcb
SymmetricKey: make $cipher_name_openssl_ecb static
2018-12-29 23:21:18 -06:00
terrafrost
5126937d40
Rijndael: replace block size switch with a single variadic function
2018-12-29 19:35:05 -06:00
terrafrost
b9cd84108c
AES: fix issue preventing ECB mode from decrypting
2018-02-21 08:26:52 -06: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
9d8f014748
SymmetricKey: isValidKey took ints instead of strings
2017-08-07 23:57:02 -05:00
terrafrost
b46bedbdf7
SymmetricKey: use static::class instead of getClassContext() method
2017-06-28 07:34:51 -05:00
terrafrost
067c1882e5
SymmetricCiphers: rm some redundant methods / variables
2016-12-09 15:51:31 -06:00
terrafrost
d34a911402
SymmetricCiphers: don't cache "hi-optimized code"
...
Also add a new engine - ENGINE_EVAL. Previously ENGINE_INTERNAL
had three different modes - a "hi-optimized" version, a
"lo-optimized" version and a version that didn't depend on
create_function and there wasn't a way to really isolate these
modes and test them individually.
2016-12-08 09:20:19 -06:00
terrafrost
2a1177b256
SymmetricCiphers: add public / private / protected as appropriate
2016-12-07 22:19:20 -06:00
terrafrost
c852bae3c8
use short array syntax for arrays
2016-11-30 21:29:38 -06:00
terrafrost
845135f887
add PHP5-style constructors along side PHP4-style ones
2016-09-10 10:41:05 -07: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
c784d9e1e5
reapply PR #931
2016-05-08 01:34:37 -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
ea7d647612
Merge branch 'cipher-revamp'
2016-03-14 22:42:51 -05:00
terrafrost
73a4221988
Crypt: become a lot less tolerant of bad parameters
2016-01-31 12:37:38 -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
terrafrost
0e0bdf6210
Merge branch 'phpdoc-master'
...
Conflicts:
phpseclib/Crypt/Base.php
phpseclib/Crypt/DES.php
phpseclib/Crypt/Rijndael.php
2015-10-13 09:31:21 -05:00