I have this JavaScript code to encrypt text using RSA, and I need one que generates the same encrypted message, but that works with Python.
JavaScript code I'm using:
var key = new RSAKeyPair(
"2f9ac975a8a20c1b108e678904b42aa1",
"",
"4a5670127da1fd4e2a51685faff367f9"
);
...
I'm having trouble finding an equivalent in Python because the parameter "modulus" present in the code builder in JavaScript, which I did not find in Python-RSA library.
I need to rewrite the JS code or is there some simpler alternative?