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]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top