mysql - Hash password with triggers using bcrypt -
is possible hash password using triggers?
i thinking like:
create trigger `hash_password` after insert on `users` each row begin update users set password = hash(new.password) end
but how make encrypted bcrypt?
Comments
Post a Comment