Search code examples
c#.netangularangular7encryption-asymmetric

How to Encrypt Password with public key in angular and Decrypt the password with private key in C#


I am stuck into a task where I want to Encrypt the user password with RSA public key into Angular 7 and same decrypt with private key into C# Please help me into this task Many many thanks in advance.


Solution

  • Here are some Link which are help full in this task:

    Below libs are helpful in generating RSA Asymmetric Encryption:(Angular)

    node-rsa: https://www.npmjs.com/package/node-rsa
    quick-encrypt: https://www.npmjs.com/package/quick-encrypt
    asymmetric-crypto: https://www.npmjs.com/package/asymmetric-crypto