Saturday, 15 June 2013

asp.net mvc - How to encrypt with JavaScript and then decrypt with C# -



asp.net mvc - How to encrypt with JavaScript and then decrypt with C# -

i'm working asp.net mvc4 , here want do:

i have web api gets username, password , serial number , homecoming json file required data. matter of security, passwords should not figure clear in url, changed implementation web api gets encrypted string, decrypted later extract 3 fields.

the problem when working view calls web api, should encrypt text fields entered user using javascript, right? encryption javascript should correspond decryption method written in c#. there existing way ? or should consider problem differently?

just utilize secure connection (https:// ssl).

any encryption can in javascript can reversed, since code used encrypt info available uses it, , can reverse-engineered.

javascript asp.net-mvc encryption

No comments:

Post a Comment