How is the simplest way to encode or encrypt a string?

  • Thread starter Thread starter Duron
  • Start date Start date
D

Duron

I just want to encode a string with a single key and decode it back later.
How is the simplest way to accomplish this? Thanks in advance.
 
Use the RijndaelManaged class (found in System.Security.Cryptography).
Make sure you save the Key and IV parameters (you can't decrypt without the
same key and IV).

-Rob Teixeira [MVP]
 
Many thanks, Rob.

Duron

Rob Teixeira said:
Use the RijndaelManaged class (found in System.Security.Cryptography).
Make sure you save the Key and IV parameters (you can't decrypt without the
same key and IV).

-Rob Teixeira [MVP]
 
Back
Top