Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kstep/rust-sha1-hasher

[DISCONTINUED] A fork of rust-sha1 with fixes and Hasher trait implementation
https://github.com/kstep/rust-sha1-hasher

Last synced: 15 days ago
JSON representation

[DISCONTINUED] A fork of rust-sha1 with fixes and Hasher trait implementation

Awesome Lists containing this project

README

        

# rust-sha1-hasher

This project is discontinued!

Minimal implementation of SHA1 for Rust. This might go away in the future
if rust-crypto or some libraries like that split into smaller parts.

Right now SHA1 is quite frequently used and many things want to have an
implementation of it, that does not pull in too much other stuff.

This is largely based on the hash code in crypto-rs by Koka El Kiwi.

This fork also adds some fixes for long data hashing (original version
has bug with hashing data built with several `update()` calls)
and reimplements functionality using `Hash` and `Hasher` traits
from Rust's standard lib, making it more composable.