#hashing #hash #abstraction-layer #algorithm #wrapping

hashlib-prelude

An abstraction layer for wrapping implementations of various hash algorithms

1 unstable release

0.1.0 Dec 25, 2018

#44 in #wrapping

28 downloads per month
Used in hashlib

Apache-2.0 OR MIT

10KB
151 lines

Rust-HashLib

License Travis CI

An abstraction layer for wrapping implementations of various hash algorithms.

This crate DO NOT implement any hash algorithms.

My intention is to create an abstraction layer for various hash algorithms, so as to change the specific hash algorithm without care about the specifics of the code.

Crates

Name Crate Documentation Description
hashlib-prelude Prelude Badge Prelude Doc An abstraction layer.
hashlib Algorithms Badge Algorithms Doc Various hash algorithms.

Built-in Algorithms

Since this crate doesn't implement any hash algorithms, some real hash algorithms crates are used as backend.

Name Backend Crate
md5 md5
sha1 sha1
sha2 sha2
keccak tiny-keccak
blake2b blake2b_simd

License

Licensed under either of Apache License, Version 2.0 or MIT License, at your option.


lib.rs:

An abstraction layer for wrapping implementations of various hash algorithms.

No runtime deps

Features