Skip to content

offsetting/jenkins_hash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jenkins_hash

Native rust implementation of the hash algorithms from Bob Jenkins.

Usage

use jenkins_hash::lookup2;

fn main() {
  let data = "Hello, this is a test string. It is just used to be hashed.".as_bytes();
  let initial = 0x3875682; // start value - like a seed

  println!("{}", lookup2(&data[..], initial));
}

About

Native rust implementation of the hash algorithms from Bob Jenkins.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages