Categories
jruby ruby

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 !!!