成本高加密,但成本更低解密 [英] High cost encryption but less cost decryption

查看:279
本文介绍了成本高加密,但成本更低解密的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望该用户/攻击者对数据进行加密,并发送给服务器。现在我想的算法是完全相反的标准算法(快速使用,难以解密),也就是说,它是非常困难的像使用发送由服务器密钥,以防止随机攻击密码对数据进行加密,但很容易解密使服务器消耗非常少的时间在验证用户,但它变得非常难攻击,与通过发送服务器的密钥每次加密新的尝试的密码。

I want that user/attacker to encrypt the data and send to server. Now I want an algorithm that is completely opposite to standard algorithms (fast to use, hard to decrypt), i.e it is very hard to encrypt the data like passwords using a key send by the server, to protect against random attacks, but very easy to decrypt so server consumes very less time in validating the user, but it becomes very hard for attacker, to every time encrypt new trial password with the key send by server.

再一次,我不是在谈论SSL。

Once again I am not talking about SSL.

推荐答案

这听起来就好像你正在寻找一个的 方案 - 对于这样一个方案的应用之一就是你的描述:要强制客户机从一个充斥服务器做了一定的工作,所以prevent它请求。

It sounds as if you're looking for a proof-of-work scheme -- one of the applications for such a scheme is just what you describe: To force a client to do a certain amount of work and so prevent it from flooding a server with requests.

这篇关于成本高加密,但成本更低解密的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆