#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

#12 in #sha3

Download history 61/week @ 2024-01-01 160/week @ 2024-01-08 165/week @ 2024-01-15 165/week @ 2024-01-22 204/week @ 2024-01-29 66/week @ 2024-02-05 139/week @ 2024-02-12 166/week @ 2024-02-19 133/week @ 2024-02-26 249/week @ 2024-03-04 307/week @ 2024-03-11 309/week @ 2024-03-18 275/week @ 2024-03-25 779/week @ 2024-04-01 374/week @ 2024-04-08 262/week @ 2024-04-15

1,709 downloads per month
Used in 6 crates (via stylus-sdk)

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