CubeHash

The redo utilities rely upon a hash function to detect file changes, rather than checking last modification timestamps as make systems do. Because redo originated with Bernstein, I chose Bernstein's entry to the 2007 NIST SHA-3 competition, Bernstein CubeHash, for that hash function.

Specifically, the hash function is Bernstein's SHA-3-AHS256 proposal from 2010-11, which parameterizes CubeHash as 16+16/32+32-256.

The cubehash command prints file CubeHash values in a format akin to that of sha256 et al.. The redo-info command prints the hashes in a format that is how the redo utilities store information in the redo dependency database. For good measure, the pkg-gencontrol command includes CubeHash hashes in manifest files.

Further reading