#crypto #keccak #sha3 #const #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

#23 in #keccak

Download history 101/week @ 2023-10-19 159/week @ 2023-10-26 139/week @ 2023-11-02 102/week @ 2023-11-09 158/week @ 2023-11-16 161/week @ 2023-11-23 267/week @ 2023-11-30 253/week @ 2023-12-07 188/week @ 2023-12-14 157/week @ 2023-12-21 81/week @ 2023-12-28 140/week @ 2024-01-04 210/week @ 2024-01-11 219/week @ 2024-01-18 158/week @ 2024-01-25 188/week @ 2024-02-01

800 downloads per month
Used in 3 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