#keccak #sha-3 #const #crypto #ethereum

no-std keccak-const

const fn implementation of the SHA-3 family of hash and extendable-output functions

1 unstable release

0.2.0 Aug 18, 2023

#13 in #sha3

Download history 734/week @ 2024-07-24 15219/week @ 2024-07-31 9803/week @ 2024-08-07 4053/week @ 2024-08-14 3331/week @ 2024-08-21 2613/week @ 2024-08-28 2059/week @ 2024-09-04 1911/week @ 2024-09-11 1745/week @ 2024-09-18 1194/week @ 2024-09-25 1173/week @ 2024-10-02 7951/week @ 2024-10-09 1749/week @ 2024-10-16 1804/week @ 2024-10-23 3114/week @ 2024-10-30 1189/week @ 2024-11-06

8,425 downloads per month
Used in 37 crates (3 directly)

MIT/Apache

24KB
296 lines

keccak-const

Build status Crate Documentation

const fn implementation of the SHA-3 family of hash and extendable-output functions (inspired by sha2-const). This crate allows you to use use the Sha3 hash functions as constant expressions in rust. For all other usages, the sha3 crate includes more optimized implementations of these hash functions.

Based on the Keccak specification implementations.

A fork of the excellent sha3-const that uses purely stable Rust.

License

© 2023 Offchain Labs, Inc.

This project is licensed under either of

at your option.

The SPDX license identifier for this project is MIT OR Apache-2.0.

No runtime deps