At the moment I have a database field which stores passwords like this:
TeacherPassword
j.lu01
pesci02
cricket01
But I want to change the password field so that each row contains hashes for each password. But how can this be done because I tried an update like below but it did not work:
UPDATE Teacher
SET SHA2 TeacherPassword
I am using sql in phpmyadmin
MySQL has a
SHA1()functionOr even
Password()Encryption functions in MySQL