如何在c#中使用AES算法解密字符串?

时间:2010-07-12 08:15:25

标签: c# aes encryption rijndaelmanaged

我有一位来自我们客户的加密字符串 此字符串使用Java中的AES方法加密。

我唯一拥有的是密钥:“xxxxxxxxxxxxxxxxxxxxxxxx”(24个字符)和加密文本:“56e84e9f6344826bcfa439cda09e5e96”(32个字符)。 (这确实是我拥有的唯一数据)

我似乎无法找到解密此字符串的方法。

有没有人能为我提供一个有效的例子。

2 个答案:

答案 0 :(得分:6)

以下是两个完整的代码示例:

您可能还会在此处找到c# implementations of AES encryption。感兴趣。

我找到了另一个例子Simple encrypting and decrypting data in C#,他们只使用Pass Phrase来解密。

答案 1 :(得分:0)

请仔细阅读本文“简单密码学 - C#中的简单DES / AES实现”

link:http://www.codeproject.com/KB/recipes/Simple_Cryptographer.aspx

希望本文能为您提供帮助。

相关问题