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

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,681
Members
48,796
Latest member
Greg L.

Latest Threads

Top