What are the valid use cases for client side encryption?

前端 未结 3 1219
旧时难觅i
旧时难觅i 2021-02-13 18:24

I just read about the Stanford Javascript Crypto Library (jsfiddle example) which supports SHA256, AES, and other standard encryption schemes entirely in javascript. The librar

3条回答
  •  旧时难觅i
    2021-02-13 19:05

    Like anything on the client, you can use obfuscation to make things more difficult for casual users to peek inside, but since the client would also need to have a copy of the decryptor there's nothing to stop the user from using the decryptor themselves either.

    JavaScript is an insecure environment, period.

提交回复
热议问题