#assembly #sha-3 #keccak256 #primitive

no-std keccak-asm

Simple wrappers for SHA-3 algorithms written in assembly

8 releases

new 0.1.7 May 13, 2026
0.1.6 Mar 27, 2026
0.1.5 Jan 28, 2026
0.1.4 Sep 10, 2024
0.1.0 Dec 26, 2023

#116 in Cryptography

Download history 215430/week @ 2026-01-21 236328/week @ 2026-01-28 256559/week @ 2026-02-04 245920/week @ 2026-02-11 258451/week @ 2026-02-18 272112/week @ 2026-02-25 336047/week @ 2026-03-04 340701/week @ 2026-03-11 321216/week @ 2026-03-18 330502/week @ 2026-03-25 313376/week @ 2026-04-01 349125/week @ 2026-04-08 362409/week @ 2026-04-15 359814/week @ 2026-04-22 334859/week @ 2026-04-29 397939/week @ 2026-05-06

1,521,861 downloads per month
Used in 898 crates (4 directly)

BSD-3-Clause

2MB
62K SLoC

Perl 60K SLoC // 0.1% comments JavaScript 1K SLoC // 0.0% comments WebAssembly 584 SLoC // 0.1% comments GNU Style Assembly 558 SLoC // 0.0% comments Rust 479 SLoC // 0.1% comments C# 101 SLoC // 0.0% comments

keccak-asm

Simple wrappers for SHA-3 algorithms written in assembly.

Forked from OpenSSL, Cryptogams, and RustCrypto's sha3.

Warning

Code is somewhat tested and benchmarked. Use at your own risk.

Support

Architecture Linux macOS Windows
x86
x86_64
aarch64 🟨
powerpc{,64} N/A N/A
powerpc64le N/A N/A
riscv32 N/A N/A
riscv64 N/A N/A
mips{,el} N/A N/A
  • ❌: Currently not supported.
  • 🟨: Compiles, but is only built, not tested in CI. Should still work normally.
  • ✅: Fully supported, with full CI coverage for the most popular target triples, e.g. x86_64-unknown-linux-gnu, aarch64-apple-darwin, x86_64-pc-windows-msvc.

License

Cryptogams is either licensed under BSD-3-Clause (the "new" BSD license, as specified here), or the Linux Kernel's license GPL-2.0-only. See the LICENSE file for more information.

Dependencies

~0.5–1MB
~21K SLoC