| Crates.io | sdbm |
| lib.rs | sdbm |
| version | 0.1.3 |
| created_at | 2019-02-14 23:12:12.605225+00 |
| updated_at | 2019-02-15 00:18:01.156469+00 |
| description | SDBM is a non-cryptographic hashing algorithm |
| homepage | https://github.com/bvanrijn/sdbm |
| repository | https://github.com/bvanrijn/sdbm |
| max_upload_size | |
| id | 114841 |
| size | 5,899 |
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