10 releases

Uses new Rust 2024

new 0.3.13 Mar 5, 2026
0.3.12 Mar 4, 2026
0.3.0 Feb 25, 2026
0.2.2 Feb 23, 2026
0.1.1 Feb 16, 2026

#1633 in Cryptography


Used in simple_sign

MIT license

23KB
448 lines

Hashing functions and hash value types.

This crate provides implementations of a small set of cryptographic hash algorithms and a common Hash type for working with computed digests.


slahasher

A Rust library providing hashing functions.

Features

  • SHA-256
  • Keccak-256
  • Keccak-384
  • Keccak-512
  • RIPEMD-160
  • Base encoding support via base_xx

Installation

Add this to your Cargo.toml:

[dependencies]
slahasher = "0.3.13"

Usage

Documentation is available at docs.rs/slahasher

License

This project is licensed under the MIT License.

Contributing

Issues and pull requests are welcome on GitHub at https://github.com/beamvex/slahasher

Authors

Dependencies

~3MB
~43K SLoC