in few of lines of code,

1. how can i hash a strPasswd, and

2. compare it to see if it matches a textbox value
(when user enters password, it will be compared to the hash in the db)