At the moment my login script looks something like below. I would like to be able to have the username and password encrypted so that if anyone did hack the webserver they still wouldn't necessarily be able to crack the database. Anyone ever done this?