Skip to content

nileshtrivedi/rbfnv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rbfnv

DESCRIPTION:

FNV hash implementation in C

USAGE:

require 'rbfnv'
Rbfnv.fnv1_32("cat") # > 983016379
Rbfnv.fnv1a_32("cat") # > 108289031
Rbfnv.fnv1_64("cat") # > 15624606792861450203
Rbfnv.fnv1a_64("cat") # > 17718013163177550631

INSTALL:

sudo gem install rbfnv

AUTHORS:

robey - Initial implementaion

nileshtrivedi - Fix for 64-bit hashes

Releases

No releases published

Packages

No packages published