Encrypt and Decrypt with a password

B

Bishoy George

I have a string , I need a way to encrypt it with a password, and it should
be never to decrypt the encryped string without the same password.
 
H

Henning Krause [MVP]

Hello,

It would probably help if you explain your sitation a little deeper. Do you
want to use asymetric encryption (two "passwords": one for encryption and
one for decryption) or symetric encryption (one password to encryption and
decryption)?

you can use the TripleDES or the RijndaelManaged class for symetric
encryption. RSA Class for asymetric encryption.

Greetings,
Henning Krause
 

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

Members online

Forum statistics

Threads
473,995
Messages
2,570,225
Members
46,815
Latest member
treekmostly22

Latest Threads

Top