需要澄清:加密
几天前我回答了一个问题,但我得到了反对票:-)。好吧,我仍然无法找出我对公钥密码学的理解有什么问题。
问题很好,是:
如果字符串在 JAVA 和 .NET 中加密,则生成的加密字符串是不同的,但当到达@服务器时,它可以正确解密。
我的回答是: Java/.NET 中的 RSA 加密和解密.NET
我想了解答案有什么问题。评论?
I answered a question some days back and I got a downvote :-). Well, I'm still not able to find out what is wrong in my understanding of public key cryptography.
The question was nice and was:
If a string is encrypted in JAVA and .NET the resulting encrypted string is different but when reaches @ server it can be decrypted correctly.
My answer was:
RSA Encryption in Java/.NET and decryption in .NET
I would like to understand what was wrong with the answer. Comments?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
公钥用于加密消息,目的地使用其私钥解密消息。
您的答案被否决可能是因为您的说法相反。
Public key is used to encrypt the message, which the destination decrypts using its Private key.
Your answer was down-voted probably because you stated the reverse.