RSA  Encryption Via Javascrypt

CodeYankee used Ask the Experts™
Greetings All,

I have a ".NET" dll I use on my server to encrypt and decrypt strings using .NETs RSACryptoServiceProvider public / private key pairs.  I would like to write a javascript class that can be used on the client to encrypt a string, when it is given a public RSA key to encrypt with.  Anybody come across javascript code that will do the encryption?


Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Can there be any other link then research page from school
This is the best!
Thanks for the answer.  Pity it didn't answer the question.

Does anyone have an example of JavaScript that integrates with the .NET RSACryptoServiceProvider to enable asymetric encryption on a client that can be read and used on a .net server?

There are lots of RSA JavaScript examples,  but the difficulty is getting the .net RSA implementation working with these client-side scipts.


Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial