Hawkynt

DSTU7564-256 (Kupyna-256)

Ukrainian National Standard hash function (DSTU 7564:2014). 256-bit variant using AES-like structure with Even-Mansour construction. Approved as national cryptographic standard.

Properties

Property Value
Category Hash Functions
Sub-category National Standard
Security status πŸŽ“ Educational Only
Complexity Advanced
Inventor Roman Oliynykov, Ivan Gorbenko, Oleksandr Kazymyrov, Victor Ruzhentsev, Oleksandr Kuznetsov
Year 2014
Origin πŸ‡ΊπŸ‡¦ Ukraine
Source algorithms/hash/kupyna.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

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

Vector 1 β€” Empty string (DSTU7564-256)

Field Value
input (empty)
expected cd5101d1ccdf0d1d1f4ada56e888cd724ca1a0838a3521e7131d4fb78d0f5eb6

Vector 2 β€” Single byte 0xFF (DSTU7564-256)

Field Value
input ff
expected ea7677ca4526555680441c117982ea14059ea6d0d7124d6ecdb3deec49e890f4

Vector 3 β€” 64-byte test vector (DSTU7564-256)

Field Value
input 000102030405060708090a0b0c0d0e0f 101112131415161718191a1b1c1d1e1f 202122232425262728292a2b2c2d2e2f 303132333435363738393a3b3c3d3e3f
expected 08f4ee6f1be6903b324c4e27990cb24ef69dd58dbe84813ee0a52f6631239875

Vector 4 β€” 128-byte test vector (DSTU7564-256)

Field Value
input 000102030405060708090a0b0c0d0e0f 101112131415161718191a1b1c1d1e1f 202122232425262728292a2b2c2d2e2f 303132333435363738393a3b3c3d3e3f 404142434445464748494a4b4c4d4e4f 505152535455565758595a5b5c5d5e5f 606162636465666768696a6b6c6d6e6f 707172737475767778797a7b7c7d7e7f
expected 0a9474e645a7d25e255e9e89fff42ec7eb31349007059284f0b182e452bda882

Vector 5 β€” 256-byte test vector (DSTU7564-256)

Field Value
input 000102030405060708090a0b0c0d0e0f 101112131415161718191a1b1c1d1e1f 202122232425262728292a2b2c2d2e2f 303132333435363738393a3b3c3d3e3f 404142434445464748494a4b4c4d4e4f 505152535455565758595a5b5c5d5e5f 606162636465666768696a6b6c6d6e6f 707172737475767778797a7b7c7d7e7f 808182838485868788898a8b8c8d8e8f 909192939495969798999a9b9c9d9e9f a0a1a2a3a4a5a6a7a8a9aaabacadaeaf b0b1b2b3b4b5b6b7b8b9babbbcbdbebf c0c1c2c3c4c5c6c7c8c9cacbcccdcecf d0d1d2d3d4d5d6d7d8d9dadbdcdddedf e0e1e2e3e4e5e6e7e8e9eaebecedeeef f0f1f2f3f4f5f6f7f8f9fafbfcfdfeff
expected d305a32b963d149dc765f68594505d4077024f836c1bf03806e1624ce176c08f

Vector 6 β€” 95-byte test vector (DSTU7564-256)

Field Value
input 000102030405060708090a0b0c0d0e0f 101112131415161718191a1b1c1d1e1f 202122232425262728292a2b2c2d2e2f 303132333435363738393a3b3c3d3e3f 404142434445464748494a4b4c4d4e4f 505152535455565758595a5b5c5d5e
expected 1075c8b0cb910f116bda5fa1f19c29cf8ecc75caff7208ba2994b68fc56e8d16

← All algorithms