Crates.io | hashell |
lib.rs | hashell |
version | 0.1.0 |
source | src |
created_at | 2023-11-22 18:47:11.154952 |
updated_at | 2023-11-22 18:47:11.154952 |
description | MRSL's hashing function ported to rust |
homepage | |
repository | https://github.com/Grisshink/hashell |
max_upload_size | |
id | 1045433 |
size | 27,114 |
Implementation of hashing function made by Mark_Rus-Scratch-Lab in Rust. Some computations of this function were omitted for sake of performance, which means it can fail in certain untested scenarios or simply produce a different hash.
use hashell::hash_string;
fn main() {
assert_eq!(hash_string("some value", 16), "5149710603511119".to_owned());
}