Fix indentation .. again ;-)

This commit is contained in:
Philipp 2020-09-14 06:34:03 +02:00
parent 9d9489494e
commit 4db45aca06
No known key found for this signature in database
GPG Key ID: 9A28B7D4FF5667BD
2 changed files with 8 additions and 10 deletions

View File

@ -73,8 +73,7 @@ class Crypto
public static function meToPem($m, $e)
{
$rsa = new RSA();
$rsa->loadKey(
[
$rsa->loadKey([
'e' => new BigInteger($e, 256),
'n' => new BigInteger($m, 256)
]);

View File

@ -90,8 +90,7 @@ class CryptoTest extends TestCase
Crypto::pemToMe($key, $m, $e);
$expectedRSA = new RSA();
$expectedRSA->loadKey(
[
$expectedRSA->loadKey([
'e' => new BigInteger($e, 256),
'n' => new BigInteger($m, 256)
]);