Hello, I have a WebBrowser on my form and I want to store the user password which is entered in a textbox for logging in a site. I've searched the net a lot. I found some things about hashing and encrypting however I couldn't make any of them work.

visual basic store password securely -database

This search phrase didn't give me results I needed. Please help me.

I also want to know if it's right thing to store some settings like usernames or passwords in an xml or text file.