Hash functions

Bluemidnightwish-512-Sha3r1

BlueMidnightWish round 1: the BMW SHA-3 candidate with 224 to 512-bit digests

unverified Root API only
Unverified tier.

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 Bluemidnightwish-512-Sha3r1

Bluemidnightwish-512-Sha3r1 is one of 4 BlueMidnightWish (SHA-3 round 1) variants in the NextSSL registry, a cryptographic hash function. It produces a 64-byte (512-bit) output. 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

BlueMidnightWish, often shortened to BMW, is a SHA-3 candidate designed by Danilo Gligoroski and co-authors. The round 1 version is archived by NextSSL as unverified research code and was not selected.

BlueMidnightWish uses a wide-pipe style design with a large internal state and a compression function built around nonlinear mixing of message words. Its round structure is not reproduced here; the registry records only its variants and sizes. NIST opened the SHA-3 competition in 2007 and narrowed the field over three rounds to five finalists. The round suffix in the variant id marks which submitted tweak the archived code follows, so rounds are not interchangeable.

This round 1 version is archived at output sizes 224, 256, 384 and 512-bit, with entries bluemidnightwish-224-sha3r1, bluemidnightwish-256-sha3r1, bluemidnightwish-384-sha3r1, bluemidnightwish-512-sha3r1. Round 1 is a first-round submission of the design. The archive keeps each output length as its own variant, which lets tests select a specific digest size. Because NextSSL records no independent review for this design, the entries serve research and test coverage rather than hash selection.

BlueMidnightWish was in the SHA-3 competition's second round. Its tier is unverified in NextSSL, so it should be used for comparison and research only. For production hashing, SHA-2 and the standardised SHA-3 functions remain the recommended choices. NIST opened the SHA-3 competition in 2007 and narrowed the field over three rounds to five finalists. The round suffix in the variant id marks which submitted tweak the archived code follows, so rounds are not interchangeable.

History

2007–2015
  1. NIST announces a public competition for a new hash standard, SHA-3

    NIST SHA-3 competition
  2. BlueMidnightWish published by Danilo Gligoroski et al.

  3. 64 designs submitted; 51 accepted into round 1

    NIST SHA-3 competition
  4. 14 designs advance to round 2

    NIST SHA-3 competition
  5. Five finalists named: BLAKE, Grøstl, JH, Keccak and Skein

    NIST SHA-3 competition
  6. Keccak selected as SHA-3

    NIST SHA-3 competition
  7. SHA-3 published as FIPS 202

    NIST SHA-3 competition

How it works

  1. The message is padded and processed in blocks by the compression function.
  2. The chaining value is updated after each block using the wide internal state.
  3. The output is taken from the final state and truncated to the requested size.

Security notes

NextSSL records no review for this archive, so no security claim is made. Use SHA-2 or SHA-3 for real systems.

Typical uses

Historical comparison of SHA-3 candidatesResearch on wide-pipe hash designsNot recommended for production hashing

Sizes

FieldBytesMeaning
out64Output

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", "bluemidnightwish-512-sha3r1", None, b"abc")[0]

Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.

Frequently asked questions

What is Bluemidnightwish-512-Sha3r1?

Bluemidnightwish-512-Sha3r1 is a hash in the BlueMidnightWish (SHA-3 round 1) family. BlueMidnightWish, often shortened to BMW, is a SHA-3 candidate designed by Danilo Gligoroski and co-authors.

What are the Bluemidnightwish-512-Sha3r1 sizes?

In NextSSL, Bluemidnightwish-512-Sha3r1 uses: output 64 bytes.

Who designed Bluemidnightwish-512-Sha3r1 and when?

Bluemidnightwish-512-Sha3r1 belongs to the BlueMidnightWish (SHA-3 round 1) family, first published in 2008 by Danilo Gligoroski et al.. Its origin: NIST SHA-3 competition, round 1.

Is Bluemidnightwish-512-Sha3r1 safe to use?

Bluemidnightwish-512-Sha3r1 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).

What other BlueMidnightWish (SHA-3 round 1) variants are there?

NextSSL also registers bluemidnightwish-224-sha3r1, bluemidnightwish-256-sha3r1, bluemidnightwish-384-sha3r1 in the BlueMidnightWish (SHA-3 round 1) family.