ASCON is crypto method which has reached Round 2 of the NIST competition for light-weight cryptography. This page implements the hashing method for a 256-bit hash, and uses a 320-bit permutation. It was created by Christoph Dobraunig Maria Eichlseder Florian Mendel and Martin Schläffer. [details].
ASCON (Light-weight hash) |
Coding
Sample test vectors are:
Msg = MD = 7346BC14F036E87AE03D0997913088F5F68411434B3CF8B54FA796A80D251F91 Msg = 00 MD = 8DD446ADA58A7740ECF56EB638EF775F7D5C0FD5F0C2BBBDFDEC29609D3C43A2 Msg = 0001 MD = F77CA13BF89146D3254F1CFB7EDDBA8FA1BF162284BB29E7F645545CF9E08424 Msg = 000102 MD = 15CCF3B00F73EF96FAA08C9B440660BEA52D6F6AA53C8E2DA3F8200A990A122F Msg = 00010203 MD = 8013EAAA1951580A7BEF7D29BAC323377E64F279EA73E6881B8AED69855EF764 Msg = 0001020304 MD = 95F819D8F743ECBE9D9E3421F171983EAA681600A6AA794BA83210C43774E649