terrafrost
c6f9807633
SymmetricKey: don't define self::$gcmField unless we're in GCM mode
2018-12-30 10:14:51 -06:00
terrafrost
f98e0afc76
AES: move GCM code to Rijndael
2018-12-30 02:15:06 -06:00
terrafrost
5abb16dc6d
SymmetricKey: simplify mode setup
2018-12-30 01:30:21 -06:00
terrafrost
a8d07e3dcb
SymmetricKey: make $cipher_name_openssl_ecb static
2018-12-29 23:21:18 -06:00
terrafrost
49be6e5529
Hash: rm function_exists calls for hash extension functions
2018-12-29 23:09:33 -06:00
terrafrost
01c92a59f8
add support for Galois/Counter Mode (GCM)
2018-12-27 08:31:35 -06:00
terrafrost
3dbc50c667
Merge branch 'post-ecdsa'
2018-12-16 19:03:44 -06:00
terrafrost
5bcb298af7
SymmetricKey: throw an exception when en/de-crypting w/o a key
2018-12-02 12:01:56 -06:00
terrafrost
2c1994805b
ECDSA: make it so hash can't be changed for Ed25519 / Ed448
2018-11-29 10:05:28 -06:00
terrafrost
9ccfaff7ba
expand on eval() explanation
2018-11-20 08:26:17 -06:00
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
Filippo Tessarotto
19f706003e
Explain the kraken
2018-10-09 08:35:56 +02: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
239a32ff06
Merge pull request #1222 from rrran/extract_func_phpdoc
...
Add PhpDoc @var for extract() functions
2017-12-23 14:18:28 -06:00
terrafrost
19a46748a2
Merge branch '2.0'
2017-12-17 16:25:30 -06:00
Sokolovskyy Roman
c705e7d9c6
Add PhpDoc @var for extract() functions
2017-12-04 11:11:43 +01: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
Takuya Sawada
7aa400745c
SymmetricKey: add Eval engine implementation for 'cfb8' cipher mode of operation
2017-10-05 19:06:47 +09:00
Takuya Sawada
8604e327a3
SymmetricKey: add 'cfb8' cipher mode of operation support
2017-10-05 19:06:45 +09:00
Takuya Sawada
e3bdbf5e0a
fix doccomment annotations
2017-10-05 18:46:59 +09:00
terrafrost
1e9d20364c
Merge pull request #1182 from eternalharvest/bugfix/doccomment
...
Fix wrong doccomment annotation of return type
2017-09-30 08:07:06 +01:00
terrafrost
af6048b48e
AsymmetricKey: visibility fixes
2017-09-30 07:58:07 +01:00
Takuya Sawada
5a87cc525f
fix wrong doccomment annotation of return type
2017-09-18 02:23:14 +09:00
terrafrost
9d8f014748
SymmetricKey: isValidKey took ints instead of strings
2017-08-07 23:57:02 -05:00
Sokolovskyy Roman
6181b2bfbd
Set of PHPDOC fixes
2017-08-03 09:16:16 +02:00
Sokolovskyy Roman
c603c2b2d0
Remove unused use
...
Fix in PHPDoc block
Wrong variable name fix
2017-07-20 11:09:29 +02:00
terrafrost
b46bedbdf7
SymmetricKey: use static::class instead of getClassContext() method
2017-06-28 07:34:51 -05:00
terrafrost
4171262b9e
SymmetricKey: use strings for constructor and setPreferredEngine
2017-06-28 06:54:10 -05:00
terrafrost
4a069f7c85
rm redundant files
2017-04-15 19:35:07 -05:00
terrafrost
eb459daeaf
add DSA implementation
2017-02-02 20:20:47 -05:00
terrafrost
1dfd315725
RSA: use public / private / protected
2016-12-10 19:09:54 -06:00
terrafrost
813b85b5b2
Crypt: define visibility for more variables / methods
2016-12-09 16:46:01 -06: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
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
df6d55fd97
ASN1: move ASN1 maps to external files for reuse
2016-11-22 23:56:07 -06:00
terrafrost
863ff6789b
RSA: refactor PKCS1/PKCS8 to facilitate re-use
2016-11-17 08:09:10 -06:00
terrafrost
711079764e
Merge branch '2.0'
2016-10-02 08:18:16 -05:00
terrafrost
c17a2604a0
Merge branch 'master-reorg'
2016-09-17 09:15:11 -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