c#des没有得到预期的结果。 [英] c# des not getting the expected result.

查看:106
本文介绍了c#des没有得到预期的结果。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个十六进制的键为1C19D5ED8D88DC40,十六进制的数据为041164DFFFFE7FF7。我应该进行DES加密以获得十六进制的加密值B652FF1BA23C279B。我使用DES的所有可能的加密方法都苦苦挣扎,但无法获得准确的值。我在这个链接中找到了它 http://mavroudisv.eu/des/index.php [ ^ ]我传递了上面十六进制的二进制值作为输入并获得了所需的值。帮助C#代码获取上述值。

I have a key which is in hex as "1C19D5ED8D88DC40" and the data in hex as "041164DFFFFE7FF7". I am supposed to do DES encryption to obtain the encrypted value in hex as "B652FF1BA23C279B". i struggled a lot with all possible encrypting methods of DES but couldn't get the exact value. I found it in this link http://mavroudisv.eu/des/index.php[^] I passed the binary values of the above hex as input and got the desired. Help with C# code to get the above value.

推荐答案

参见使用C#中的DES加密/解密字符串 [ ^ ]。


这篇关于c#des没有得到预期的结果。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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