mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-01-26 08:38:29 +00:00
RSA: fix MSBLOB encoding error
This commit is contained in:
parent
a485e85ba5
commit
0e1dff2be7
@ -200,7 +200,7 @@ abstract class MSBLOB
|
||||
$key.= strrev($primes[2]->toBytes());
|
||||
$key.= strrev($exponents[1]->toBytes());
|
||||
$key.= strrev($exponents[2]->toBytes());
|
||||
$key.= strrev($coefficients[1]->toBytes());
|
||||
$key.= strrev($coefficients[2]->toBytes());
|
||||
$key.= strrev($d->toBytes());
|
||||
|
||||
return Base64::encode($key);
|
||||
|
Loading…
x
Reference in New Issue
Block a user