Bash224
BASH-224: a hash from the BASH family, cited to the Belarusian standard STB 34.101.77
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 Bash224
Bash224 is a cryptographic hash function from the BASH family. It produces a 28-byte (224-bit) output. Its registry entry cites STB 34.101.77. 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
BASH is a hash family whose 224-bit member is cited in NextSSL to the Belarusian standard STB 34.101.77. The archive lists it as unverified, and it is one of the few hash entries tied to a national standard.
BASH is a hash family with a 224-bit digest in this registry. Its internal construction is not described in the input data, so the entry records only the standard and digest length. Entries without a round label are carried as single archived designs, and their provenance is recorded only as far as the source data goes. Each output length is listed separately so that tests can select the exact digest size.
NextSSL carries bash224 with 224-bit (28 bytes) output, and cites the Belarusian standard STB 34.101.77 as its reference. The tier is unverified, which means no review of the design, its parameters or its test vectors is recorded. Production code should use SHA-2 or SHA-3 as standardised by NIST, and treat these entries as research material. Entries without a round label are carried as single archived designs, and their provenance is recorded only as far as the source data goes.
Because NextSSL has not reviewed the design in this archive, use it for interoperability with the standard and not for new security decisions. Each output length is listed separately so that tests can select the exact digest size. The tier is unverified, which means no review of the design, its parameters or its test vectors is recorded. Production code should use SHA-2 or SHA-3 as standardised by NIST, and treat these entries as research material.
History
2016–2016BASH published
How it works
- The message is padded and processed by the standard's compression function.
- The output is produced from the final state at 224 bits.
- Implementations must follow the standard to produce interoperable digests.
Security notes
The tier is unverified. Follow the standard for interoperability, and use SHA-2 or SHA-3 for new security decisions.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| out | 28 | 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", "bash224", None, b"abc")[0]
nextssl_root_hash_with("bash224", NULL, data, out);
use nextssl_core::Params;
use nextssl_registry::{self as reg, Policy};
let digest = reg::hash_in(reg::all(), Policy::Any, "bash224", &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 Bash224?
Bash224 is a hash in the BASH family. BASH is a hash family whose 224-bit member is cited in NextSSL to the Belarusian standard STB 34.101.77.
What are the Bash224 sizes?
In NextSSL, Bash224 uses: output 28 bytes.
Who designed Bash224 and when?
Bash224 belongs to the BASH family, first published in 2016. Its origin: Belarusian standard STB 34.101.77.
Which standards define Bash224?
Bash224 is referenced by STB 34.101.77.
Is Bash224 safe to use?
Bash224 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).
Related families
Grøstl round 3: the AES-based wide-pipe SHA-3 finalist, archived in 224 to 512-bit sizes
SHA-2The NIST Merkle–Damgård hash family behind most of today's TLS, signatures and software
SHA-3 and KeccakThe Keccak sponge, standardised by NIST in FIPS 202 as a structural alternative to SHA-2
SM3China's national 256-bit hash standard, structurally similar to SHA-256
StreebogRussia's current hash standard, GOST R 34.11-2012, with 256- and 512-bit outputs
SHA-3 and KeccakThe Keccak sponge, standardised by NIST in FIPS 202 as a structural alternative to SHA-2