I need some help with encrypting a string. I want to encrypt a string using AES 256-bit encryption with a custom key. I am very new to encryption and need some help. How can I go about doing this? Thanks!
Printable View
I need some help with encrypting a string. I want to encrypt a string using AES 256-bit encryption with a custom key. I am very new to encryption and need some help. How can I go about doing this? Thanks!
Go to the MSDN Library and look up the AesManaged class and read the documentation. As it explains, it's basically a specific form of the Rijndael algorithm, so follow the link and check out the code example for the RijndaelManaged class. You can implement basically the same code using the AesManaged class instead of the RijndaelManaged class. You can then post back with any specific questions.
What is the best encryption method?
Symmetric or Asymmetric?