0

我有一个场景,其中有三方:一个用户、一个内容提供者和一个代理。数据将通过代理在用户和内容提供者之间匿名传输。我有两个问题。1、如果用户根据自己的公钥有假名,是否可以申请另一个公钥?2.对于用户和内容提供者之间的数据保密,代理无法读取传输的内容,可以使用Diffie-Hellman密钥交换。但是我可以使用第 1 部分中获得的公钥来获取用户和内容提供者之间的加密数据吗?

此致

亚历山大

4

1 回答 1

0

Diffie-Hellman is a method for establishing a shared secret between two entities. So, that's a part of secret key cryptography.

No number of public keys, unless you manage to generate the current shared secret, will get you the information shared between two parties using secret key crypto. A public key should be matched to, and used with, a private key. That's public key cryptography.

For part 1, I guess I don't understand what you want to do with the public key other than generate a pseudonym with it, I don't see why not. Maybe I'm misunderstanding your question but I believe the answer for part 2 is no.

于 2013-05-31T12:30:13.300 回答