Skip to content

Commit

Permalink
Support phpseclib V3
Browse files Browse the repository at this point in the history
  • Loading branch information
grmeyer-hw-dev committed Jul 17, 2024
1 parent 11118ef commit aa07744
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Hyperwallet/Util/HyperwalletEncryption.php
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,6 @@ private function getPrivateKey($privateKeyData) {
$pemData = RSA::_convertPrivateKey($n, $e, $d, $primes, $exponents, $coefficients);
$privateKey = RSA::loadKey($pemData);
$privateKey->loadKey($pemData);
$rsa =

if ($privateKeyData['alg'] == 'RSA-OAEP-256') {
$privateKey->setHash('sha256');
Expand Down

0 comments on commit aa07744

Please sign in to comment.