Hey. Thanks for your great library. I'm integrating ursa in OpenPGP.js for native RSA under node. I saw that there is a way to create a private key from components:
ursa.createPrivateKeyFromComponents(modulus, exponent, p, q, dp, dq, inverseQ, d)
But is there also the other way around ... to get the components from a generated private key? I need the following components:
Hey. Thanks for your great library. I'm integrating ursa in OpenPGP.js for native RSA under node. I saw that there is a way to create a private key from components:
But is there also the other way around ... to get the components from a generated private key? I need the following components:
https://github.com/openpgpjs/openpgpjs/blob/master/src/crypto/public_key/rsa.js#L198-L204
Thanks!