Navigation Menu

Skip to content

joshnesbitt/hasher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hasher

A really simple encryption module, handy to generate randomly hashed unique strings.

Use it like this:

include Hasher
# => Object

generate_hash "somevalueiwanttohash"
# => 1a09a8b3dd4b24d5284ac13705523d1b15b55e64

If you want you can configure a different secret to use in the salt:

SECRET = "ilikebigbuttsandicannotlie"

Copyright © 2009 Josh Nesbitt <josh@josh-nesbitt.net> under MIT-LICENSE.

About

Simple unique hash generator.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages