mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-01-26 00:28:27 +00:00
Merge branch '3.0'
This commit is contained in:
commit
3bff661c00
@ -25,7 +25,7 @@ class Unit_Crypt_ChaCha20Test extends PhpseclibTestCase
|
|||||||
$expected = str_replace(' ', '', $expected);
|
$expected = str_replace(' ', '', $expected);
|
||||||
$expected = pack('H*', $expected);
|
$expected = pack('H*', $expected);
|
||||||
|
|
||||||
$engines = ['PHP', OpenSSL', 'libsodium'];
|
$engines = ['PHP', 'OpenSSL', 'libsodium'];
|
||||||
for ($engines as $engine) {
|
for ($engines as $engine) {
|
||||||
$c = new ChaCha20();
|
$c = new ChaCha20();
|
||||||
$c->setKey($key);
|
$c->setKey($key);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user