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

后端 未结 2 1092
庸人自扰
庸人自扰 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: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.

提交回复
热议问题