elloco999
Well-known member
- Joined
- Dec 21, 2004
- Messages
- 49
- Programming Experience
- 5-10
Hi,
I have an application that accesses a access db. In the db is a table called tblUser. It has two fields for storing usernames and passwords. Since anyone can open the db, I want to store the passwords encrypted.
I've been trying to figure out how to do this using the System.Security.Cryptography namespace. But all the encryption classes in this namespace use a stream to encrypt/decrypt things. Isn't there an easier way to encrypt the password? It is in a string, so if there is a way to simply encrypt the contents of the string?
And if not, how do I do this using a stream?
Thanks,
El Loco
I have an application that accesses a access db. In the db is a table called tblUser. It has two fields for storing usernames and passwords. Since anyone can open the db, I want to store the passwords encrypted.
I've been trying to figure out how to do this using the System.Security.Cryptography namespace. But all the encryption classes in this namespace use a stream to encrypt/decrypt things. Isn't there an easier way to encrypt the password? It is in a string, so if there is a way to simply encrypt the contents of the string?
And if not, how do I do this using a stream?
Thanks,
El Loco