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

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

javascript - jquery or ashx not working -

inno setup - TLabel or TNewStaticText - change .Font.Style on Focus like Cursor changes with .Cursor -