How can I decrypt a string using AES algorithm in c#?

后端 未结 2 1093
庸人自扰
庸人自扰 2021-01-13 10:01

I have an encrypted string from one of our customers.
This string was encrypted using the AES method in Java.

The only thing I have is the key: \"xxxxxxxxxxxxx

相关标签:
2条回答
  • 2021-01-13 10:43

    Please go through this article "Simple Cryptographer - Simple DES/AES Implementation in C#"

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

    Hope this article will help you.

    0 讨论(0)
  • 2021-01-13 10:55

    Here are two complete code samples for you:

    • How To: Encrypt and Decrypt Data Using a Symmetric (Rijndael) Key
    • How To: Encrypt Data With Salt (C#/VB.NET)

    You might also find c# implementations of AES encryption here on SO interesting.

    I found another example Simple encrypting and decrypting data in C# where they use only the Pass Phrase to decrypt.

    0 讨论(0)
提交回复
热议问题