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
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
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
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
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