如何使用django在服务器端加密我的数据 [英] How to encrypt my data on the server side using django
本文介绍了如何使用django在服务器端加密我的数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这是我的要求:
- 用户内容最终存储在服务器端,但数据的保存被加密
- 服务器端,即站点技术人员,无法解密用户的内容,因为存储在服务器端的用户密码是md5加密字符的长列表。
- 对于加密,我们可以暂时考虑文本
与密码一样想要处理数据,但这些数据需要输出给用户,所以我必须解密客户端的数据,
我可以做什么, / p>
谢谢
更新:
如果我在我的javascript数据中使用 javascript obfuscator
,有人被多少机会破解。
解决方案
在客户端加密和解密,从不将密钥存储在服务器端。
请参阅 jsencryption 为客户端加密示例。
This is my demand:
- User content is ultimately stored on the server side, but the preservation of data is encrypted
- 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.
- 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.
这篇关于如何使用django在服务器端加密我的数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文