4

I would like to enhance my web application by including symmetric encryption techniques using Javascript but I fear that I will lose the performance. Can you suggest me some good approaches please?

Artjom B.
  • 61,146
  • 24
  • 125
  • 222
Satish Kumar
  • 331
  • 2
  • 7
  • 3
    Encryption is needed or it isn't. Use as appropriate. Worry about performance when/if it is an issue. Keep in mind that Javascript is susceptible to inspection (or exploits/injection) and SSL already does a fair job at what it was designed to do. Perhaps provide more information in the question? –  May 12 '11 at 10:10

2 Answers2

1

This is a good start

http://code.google.com/p/crypto-js/

mparsons
  • 11
  • 1
0

Encryption requires CPU time. You will sacrifice performance. You need to determine how much is too much and profile.

Why aren't you using HTTPS ?

Evert
  • 93,428
  • 18
  • 118
  • 189