Hi all,
I have been bashing my head against this for a day and I can't find a simple answer. I want to encrypt a user's password when I send it to the server with RSA encryption. I have a Modulus and Exponent generated from a .net Core API and I'm sending the public key back to the Angular app. All of that is easy enough. But I can't find a simple method of taking that information and encrypting the user's password with the public key M/E pair. I've tried examples from JSEncrypt and Node-RSA but neither seems to present a good Angular simple implementation of StringToEncrypt, Modulus, Exponent => encrypted result.
Does anyone have any good suggestions for this?
Thanks!
Josh