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.