计算三个加密号码的平均值 [英] calculate the average of three encrypted numbers

查看:151
本文介绍了计算三个加密号码的平均值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可以计算三个加密整数的平均值吗?对加密方法没有约束力。这个意思就是要隐藏三个数字并找到平均值。

Is possible to calculate average of three encrypted integer? No constrain on the method of encrypting. The point of this is just to hide the three numbers and find average.

推荐答案

你似乎寻找的是一个href =http://en.wikipedia.org/wiki/Homomorphic_encryption =nofollow noreferrer>同态加密:一种加密方案,允许您对加密数据执行操作,加密结果为结果。

What you seem to be looking for is called Homomorphic Encryption: an encryption scheme which allows you to perform operations on encrypted data, with the encrypted result as the outcome.

这样一个方案将允许您将加密数据提供给第三方,然后可以对其进行计算,而不知道他们正在计算什么。

Such a scheme would allow you to give encrypted data to a 3rd party, which could then do computations on it for you without knowing what they were computing.

在你的情况下,你需要两个操作:加法和除法。直到最近,同态加密方案通常仅支持1个操作。但是在2009年9月, IMB宣布了第一个完全同态密码系统。此后,发布另一个系统的研究。

In your case, you need two operations: addition and division. Until recently, homomorphic encryption schemes typically supported only 1 operation. But in september 2009 IMB announced the first fully homomorphic cryptosystem. Other researches published another system soon after that.

这些密码系统可能能够做你想要的,但它是所有尖端的计算机科学研究。

These cryptosystems might be be able to do what you want, but it is all cutting edge computer science research.

这篇关于计算三个加密号码的平均值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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