I’m not sure hashing is what is desired due to the ByteString -> MyTuple conversion that was mentioned.


Kyle Marek-Spartz
 
 
 
 
 
On Oct 7, 2014, 4:15:55 PM, Alexander Kjeldaas <alexander.kjeldaas@gmail.com> wrote:

Assuming the Generic instance is a stable interface, I would create a traversal of that, feeding directly into a Blake2b-implementation (a fast SHA3 finalist, tweaked).


This gives you a cryptographically strong fingerprint, space usage is flexible (extract as many bytes as you want), is fast (~1GB/s), and with low complexity/external dependencies.


Alexander