quickxorhash

Crates.ioquickxorhash
lib.rsquickxorhash
version0.1.0
sourcesrc
created_at2023-04-08 14:33:16.130341
updated_at2023-04-08 14:33:16.130341
descriptionFast implementation of QuickXorHash in Rust.
homepagehttps://github.com/guyru/quickxorhash
repositoryhttps://github.com/guyru/quickxorhash
max_upload_size
id833614
size27,591
(guyru)

documentation

README

QuickXorHash

Fast implementation of QuickXorHash in pure Rust.

A quick, simple non-cryptographic hash algorithm that works by XORing the bytes in a circular-shifting fashion.

Examples

use quickxorhash::QuickXorHash;

//! let mut qx = QuickXorHash::new();
//! qx.update(b"hello world");
//! assert_eq!(qx.finalize(), [104, 40, 3, 27, 216, 240, 6, 16, 220, 225, 13, 114, 107, 3, 25, 0, 0, 0, 0, 0]);

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Authors

Commit count: 6

cargo fmt