开发者

How to encrypt my data on the server side using django

This is my demand:

  1. User content is ultimately stored on the server side, but the preservation of data is encrypted
  2. Server side, that is, site technical staff, can not have any way to decrypt the contents of the user, as the user's password as stored on the server side is a long list of md5 encrypted characters.
  3. For encryption, we can temporarily consider only the text

The same as the password I want to process the data, but these data need to output to the user, so i have to decrypt the data on the client-side ,

what can i do ,

thanks

updated:

if i use javascript obfuscator on my javascript data , How much chance to开发者_如何转开发 be cracked by somebody .


Encrypt and decrypt on the client, never store key in the server side.

See jsencryption for an example of client side encryption.


If you use javascript obfuscator chances are high it might be cracked, obfuscation is not encryption.

You should hash the conten on the serverside using md5.

Can you be more clear and specific in the question?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜