Testing MD5 and SHA256 hashing in ruby

Module : Digest::MD5 and Digest::SHA256

Method : hexdigest

Sample code on interactive ruby as follow

now we can hash our password to database !!!

Leave a Reply

Your email address will not be published. Required fields are marked *