Hash functions

Echo

An AES-round-based SHA-3 candidate from Orange Labs that reached the second round

research Root API only
Research tier.

Experimental or unclassified. Root API only. Reach it with NextSSL(root=True) in Python or the nextssl_root_* functions in C.

About Echo

Echo is a cryptographic hash function. It produces a 28–64-byte output. It takes the parameter out_len (default 32). Its registry entry cites ECHO (SHA-3 round 2 candidate), sphlib implementation. NextSSL lists it in the research tier and exposes it through the root API only (NextSSL(root=True) in Python, nextssl_root_* in C).

Overview

ECHO is a hash function submitted to the NIST SHA-3 competition by a team from France Telecom Orange Labs. It reuses the AES round function heavily, which makes it fast on CPUs with AES instructions, and it reached the second round.

ECHO uses the HAIFA iteration with a 2048-bit internal state arranged as a 4x4 matrix of 128-bit words. Each round applies two AES rounds to every word (BIG.SubWords), then shifts rows and mixes columns of the matrix of words (BIG.ShiftRows and BIG.MixColumns), mirroring AES at a larger scale. Message blocks and a counter are mixed into the state, and the chaining value is extracted by folding the state.

The 224- and 256-bit versions process 1536-bit message blocks with 8 rounds; the larger versions use 1024-bit blocks with 10 rounds. NextSSL's entry comes from the sphlib implementation. The design is notable for scaling the AES structure up by treating whole AES states as the 'bytes' of a larger AES-like state. Like the other non-selected candidates, its main value today is as a reference point for understanding the designs NIST evaluated and the cryptanalysis the competition produced.

History

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

    NIST SHA-3 competition
  2. ECHO published

  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

Security notes

Rebound attacks reached reduced-round versions of ECHO, and no attack on the full function is known. It was not chosen as a finalist, partly because of its size and performance without AES hardware support.

Typical uses

SHA-3 competition researchStudy of AES-based hash design

Sizes

FieldBytesMeaning
out28 – 64Output

Parameters

NameTypeRangeDefaultRequired
out_len u64 28 – 64 32 no

Parameters are passed as a string, for example nextssl_mac("hmac", "hash=sha512", …). Omitted parameters take their declared default.

Use it

from nextssl_demo import NextSSL

root = NextSSL(root=True)   # tier 'research' is reachable from the root API only
digest = root.call("hash_with", "echo", 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 Echo?

Echo is a hash in the ECHO family. ECHO is a hash function submitted to the NIST SHA-3 competition by a team from France Telecom Orange Labs.

What are the Echo sizes?

In NextSSL, Echo uses: output 28 to 64 bytes.

Who designed Echo and when?

Echo belongs to the ECHO family, first published in 2008 by Ryad Benadjila, Olivier Billet, Henri Gilbert, Gilles Macario-Rat, Thomas Peyrin, Matt Robshaw, Yannick Seurin. Its origin: NIST SHA-3 competition (round 2).

Which standards define Echo?

Echo is referenced by ECHO (SHA-3 round 2 candidate), sphlib implementation.

Is Echo safe to use?

Echo is in the research tier. Experimental or unclassified. Root API only. It is only reachable through the root API (NextSSL(root=True) in Python, nextssl_root_* in C).