Hawkynt

CubeHash-256

CubeHash-16+16/32+16-256 variant producing 256-bit hashes. SHA-3 competition candidate by Daniel J. Bernstein.

Properties

Property Value
Category Hash Functions
Sub-category Cryptographic Hash
Security status πŸŽ“ Educational Only
Complexity Intermediate
Inventor Daniel J. Bernstein
Year 2008
Origin πŸ‡ΊπŸ‡Έ United States
Source algorithms/hash/cubehash.js

Parameters

Parameter Supported values
Output sizes 32 bytes (256 bits)

Security

Status: πŸŽ“ Educational Only

No vulnerabilities are recorded for this implementation.

Documentation

References

Test vectors

3 vectors ship with this algorithm and run in the test suite. Byte values are hexadecimal.

Vector 1 β€” Empty string (CubeHash16+16/32+16-256)

Field Value
input (empty)
expected 44c6de3ac6c73c391bf0906cb7482600ec06b216c7c54a2a8688a6a42676577d

Vector 2 β€” ASCII β€˜Hello’ (CubeHash16+16/32+16-256)

Field Value
input 48656c6c6f
expected e712139e3b892f2f5fe52d0f30d78a0cb16b51b217da0e4acb103dd0856f2db0

Vector 3 β€” ASCII β€˜The quick brown fox jumps over the lazy dog’ (CubeHash16+16/32+16-256)

Field Value
input 54686520717569636b2062726f776e20 666f78206a756d7073206f7665722074 6865206c617a7920646f67
expected 5151e251e348cbbfee46538651c06b138b10eeb71cf6ea6054d7ca5fec82eb79

← All algorithms