#crypto #belt #stb


belt-block block cipher implementation

4 releases

0.1.2 Apr 15, 2023
0.1.1 Sep 23, 2022
0.1.0 Sep 15, 2022
0.0.0 Sep 15, 2022

#2393 in Cryptography

Download history 73/week @ 2023-10-26 148/week @ 2023-11-02 228/week @ 2023-11-09 187/week @ 2023-11-16 147/week @ 2023-11-23 50/week @ 2023-11-30 58/week @ 2023-12-07 442/week @ 2023-12-14 113/week @ 2023-12-21 1117/week @ 2023-12-28 6341/week @ 2024-01-04 6433/week @ 2024-01-11 890/week @ 2024-01-18 1206/week @ 2024-01-25 1278/week @ 2024-02-01 390/week @ 2024-02-08

4,742 downloads per month
Used in 6 crates (3 directly)


391 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.


Minimum Supported Rust Version

Rust 1.56 or higher.

Minimum supported Rust version can be changed in the future, but it will be done with a minor version bump.

SemVer Policy

  • All on-by-default features of this library are covered by SemVer
  • MSRV is considered exempt from SemVer as noted above


Licensed under either of:

at your option.


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.