Format/name changes

This commit is contained in:
Philipp Holzer 2020-09-13 10:53:15 +02:00
commit 9d9489494e
No known key found for this signature in database
GPG key ID: 9A28B7D4FF5667BD
2 changed files with 24 additions and 22 deletions

View file

@ -90,10 +90,11 @@ class CryptoTest extends TestCase
Crypto::pemToMe($key, $m, $e);
$expectedRSA = new RSA();
$expectedRSA->loadKey([
'e' => new BigInteger($e, 256),
'n' => new BigInteger($m, 256)
]);
$expectedRSA->loadKey(
[
'e' => new BigInteger($e, 256),
'n' => new BigInteger($m, 256)
]);
$this->assertEquals($expectedRSA->getPublicKey(), $key);
}