23 Oct
2018
23 Oct
'18
10:36 a.m.
On Tue, 23 Oct 2018 at 11:25, Miguel Ojeda
Well, uhm, because that seems to be quite handy. All NIST implementations do exactly this.
No, sorry, that is a completely different use case. Crypto hashes are used, among other things, in network communications, persistent storage, etc. They need to be "fixed" functions, and their standards provide the exact definition. That is not the case at all with std::hash or Boost.Hash.
For debugging purposes, a fixed function seems quite useful to me. degski -- *“If something cannot go on forever, it will stop" - Herbert Stein*