jenkins_hash 0.2.0

Native rust implementation of the hash algorithms from Bob Jenkins.
Documentation
  • Coverage
  • 66.67%
    2 out of 3 items documented2 out of 2 items with examples
  • Size
  • Source code size: 17.7 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 288.39 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • offsetting/jenkins_hash
    0 0 1
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • MarcelCoding

jenkins_hash

Native rust implementation of the hash algorithms from Bob Jenkins.

Lookup2

see: www.burtleburtle.net/bob/hash/doobs.html

Do NOT use for cryptographic purposes.

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));
}