I just realized that MySQL has inbuilt function for encrypting strings upon insertions and it can easily be accessed from phpMyAdmin.
It has many other inbuilt functions as well.
Previously I used to hash strings manually through PHP functions or used external sites whenever I was building some login system and needed some database records to test.
I used to copy output of PHP’s md5/sha1 function and paste it into password field manually.
All those instructors in screencasts from which I learned used to do it manually too.
I just picked up from them.
Comments
Post a Comment