RSA: fix MSBLOB encoding error

This commit is contained in:
terrafrost 2020-01-18 17:47:24 -06:00
parent a485e85ba5
commit 0e1dff2be7

View File

@ -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);