0

Im using vb.net (visual studio 2010) and have made a form application that uses a login screen. All that works but im having trouble any firm way to encrypt the passwords in the database. The encryption doesnt have to be very high standard as its just for a college project.

Whats the best way to encrypt the password into the database? Or just encrypt the password string, i can then sort out the database end myself.

Cheers

2 Answers 2

1

There are more that one way to encrypt password with the .NET framework. It depend on how secure it should be based on your requirements.

A very common way is to use the MD5 encryption, take a look here

Sign up to request clarification or add additional context in comments.

1 Comment

MD5 would be hashing; not encryption. It is however a viable means of protection for the project in question.
0

You can select from one of the many classes in System.Security.Cryptography to handle the encryption/decryption such as Rijndael (sample code of encrypting/decrypting a string in the link).

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.