ValueMentor interview question

Create a login form with mysql and php with proper password encoding