BelT-Hash
Belarus's 128-bit block cipher standard and the hash function built on it
Source found and wired, correctness not fully proven. Root API only. Reach it with NextSSL(root=True) in Python or the nextssl_root_* functions in C.
About BelT-Hash
BelT-Hash is a cryptographic hash function from the belt family. It produces a 32-byte (256-bit) output. Its registry entry cites STB 34.101.31 (BelT hash), Belarus. NextSSL lists it in the unverified tier and exposes it through the root API only (NextSSL(root=True) in Python, nextssl_root_* in C).
Overview
belt is the Belarusian national block cipher defined in STB 34.101.31, together with a family of modes and a hash function built on it. It uses a 128-bit block and a 256-bit key.
belt-block processes a 128-bit block as four 32-bit words through eight rounds. Each round combines modular additions and subtractions with a function G that applies an 8-bit S-box to each byte and rotates the result, interleaving Feistel-style and Lai–Massey-style mixing. The key schedule is trivial: the 256-bit key is split into eight 32-bit words used cyclically, which keeps the cipher simple to implement.
STB 34.101.31 also defines modes of operation and belt-hash, a 256-bit hash whose compression function is built from belt-block. NextSSL carries belt-block as a standard block cipher and belt-hash as an entry wired from source that has not yet been verified. The same standard also defines belt-based MAC and key-wrapping modes.
History
2011–2011belt published
Security notes
No practical attacks on full belt-block are known in the public literature, though it has received far less scrutiny than AES. belt-hash is unverified in NextSSL.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| out | 32 | Output |
Use it
from nextssl_demo import NextSSL
root = NextSSL(root=True) # tier 'unverified' is reachable from the root API only
digest = root.call("hash_with", "belt-hash", None, b"abc")[0]
nextssl_root_hash_with("belt-hash", NULL, data, out);
use nextssl_core::Params;
use nextssl_registry::{self as reg, Policy};
let digest = reg::hash_in(reg::all(), Policy::Any, "belt-hash", &Params::new(), b"abc")?;
Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.
Similar names
Looking for something else?More hash functions
All 424Frequently asked questions
What is BelT-Hash?
BelT-Hash is a hash in the belt family. belt is the Belarusian national block cipher defined in STB 34.101.31, together with a family of modes and a hash function built on it.
What are the BelT-Hash sizes?
In NextSSL, BelT-Hash uses: output 32 bytes.
Who designed BelT-Hash and when?
BelT-Hash belongs to the belt family, first published in 2011. Its origin: STB 34.101.31-2020 (Belarus).
Which standards define BelT-Hash?
BelT-Hash is referenced by STB 34.101.31 (BelT hash), Belarus.
Is BelT-Hash safe to use?
BelT-Hash is in the unverified tier. Source found and wired, correctness not fully proven. Root API only. It is only reachable through the root API (NextSSL(root=True) in Python, nextssl_root_* in C).