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

Popular posts from this blog

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -