0

is there some encryption time that will encrypt a data and possible to Decrypt it in C# code?? could you give me some ideas i just need to encrypt a data and decrypt it in the server side codes having trouble finding one.

5
  • use your own algoritm like add 10 to each char Commented Oct 8, 2013 at 8:48
  • github.com/gabrieleromanato/jQuery-MD5 have a look at this link Commented Oct 8, 2013 at 8:50
  • i thing md5 cannot be decrypted once you encrypt a string. is there some plug in available? Commented Oct 8, 2013 at 9:09
  • Can't you use an https connection? That way no data encryption is needed in javascript. If not, then take a look at this question. Commented Oct 8, 2013 at 9:12
  • I use https but when im looking in the developer's tool in google chrome the value of the ajax call still visible its not encrypted i wanted to encrypt that.. Commented Oct 8, 2013 at 9:30

1 Answer 1

0

Nothing you do in javascript is going to be able to prevent someone from using the developers tool to see the unencrypted values. At best you will prevent novices from peeking, but it will be trivially easy to see what the JS code is doing for any developer/techie, and thus see the value you are trying to protect.

If you are trying to protect data during transmission, use SSL, if you are trying to encrypt something on the client side, in JS, to prevent people from using the developers tools to see the value in google chrome, good luck.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.