#block-cipher #belt #stb

belt-block

belt-block block cipher implementation

11 releases

Uses new Rust 2024

0.2.0-rc.3 Feb 1, 2026
0.2.0-rc.2 Nov 5, 2025
0.2.0-rc.1 Sep 3, 2025
0.2.0-rc.0 May 30, 2025
0.1.1 Sep 23, 2022

#2942 in Cryptography

Download history 6910/week @ 2025-10-20 4147/week @ 2025-10-27 3412/week @ 2025-11-03 12896/week @ 2025-11-10 11439/week @ 2025-11-17 6032/week @ 2025-11-24 3217/week @ 2025-12-01 3477/week @ 2025-12-08 5457/week @ 2025-12-15 4750/week @ 2025-12-22 3991/week @ 2025-12-29 9448/week @ 2026-01-05 6869/week @ 2026-01-12 6851/week @ 2026-01-19 9427/week @ 2026-01-26 11461/week @ 2026-02-02

34,699 downloads per month
Used in 14 crates (4 directly)

MIT/Apache

30KB
402 lines

RustCrypto: Belt-Block

crate Docs Apache2/MIT licensed Rust Version Project Chat Build Status HAZMAT

Pure Rust implementation of the BelT block cipher specified in STB 34.101.31-2020.

⚠️ Security Warning: Hazmat!

This crate does not ensure ciphertexts are authentic (i.e. by using a MAC to verify ciphertext integrity), which can lead to serious vulnerabilities if used incorrectly!

No security audits of this crate have ever been performed, and it has not been thoroughly assessed to ensure its operation is constant-time on common CPU architectures.

USE AT YOUR OWN RISK!

License

Licensed under either of:

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~690KB
~18K SLoC