sdbm

Crates.iosdbm
lib.rssdbm
version0.1.3
sourcesrc
created_at2019-02-14 23:12:12.605225
updated_at2019-02-15 00:18:01.156469
descriptionSDBM is a non-cryptographic hashing algorithm
homepagehttps://github.com/bvanrijn/sdbm
repositoryhttps://github.com/bvanrijn/sdbm
max_upload_size
id114841
size5,899
Barend (bvanrijn)

documentation

https://docs.rs/sdbm

README

sdbm

View on Crates.io Documentation Build Status


SDBM is a non-cryptographic hashing algorithm.

Usage

To use it, simply add this to your Cargo.toml:

[dependencies]
sdbm = "*"

Using it is as simple as:

fn main() {
    dbg!(sdbm::sdbm_hash("Hello, Rustaceans!"));
}

This will print:

[src/main.rs:2] sdbm::sdbm_hash("Hello, Rustaceans!") = 98379892
Commit count: 8

cargo fmt