Friday, February 4, 2011

How do I create a SHA1 hash in ruby?

  • require 'digest/sha1'
    Digest::SHA1.hexdigest 'foo'
    
    From devstopfix

0 comments:

Post a Comment