Skip to content

deepfryed/sash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sash

Sash computes a 64bit hash using sdbm or djb2 hash function and outputs a compact string representation.

Example

require 'sash'
Sash.base64 "hi, this is sash - so how was your day ?" #=> "ixeLC8U8SC"
Sash.base64 "hi, this is sash - so how was your day ?", method: Sash::METHOD_DJB2) #=> "HI6K0nlcyH9"

License

CC BY-SA 3.0

About

compact string hash

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published