Open ChrisMGeo opened 2 years ago
JSEncryptRSAKey has the property n inherited from RSAKey. When trying to migrate from ^3.0.0-rc.1 to use TypeScript, this n is protected. Any way I can read this property in the current version of jsencrypt? The code in which I need to access n is:
JSEncryptRSAKey
n
RSAKey
^3.0.0-rc.1
var maxLength = (key.n.bitLength() + 7) >> 3;
JSEncryptRSAKey
has the propertyn
inherited fromRSAKey
. When trying to migrate from^3.0.0-rc.1
to use TypeScript, thisn
is protected. Any way I can read this property in the current version of jsencrypt? The code in which I need to accessn
is: