sdbm
SDBM is a non-cryptographic hashing algorithm.
Usage
To use it, simply add this to your Cargo.toml:
[]
= "*"
Using it is as simple as:
This will print:
sdbm_hash = 98379892
SDBM is a non-cryptographic hashing algorithm.
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