[Haskell-cafe] Fingerprinting Haskell Objects

Kyle Marek-Spartz kyle.marek.spartz at gmail.com
Tue Oct 7 22:21:34 UTC 2014


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 at 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



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20141007/5bd9bf28/attachment.html>


More information about the Haskell-Cafe mailing list