The review of std.hash package

Tobias Pankrath tobias at pankrath.net
Wed Aug 8 06:03:32 PDT 2012


On Wednesday, 8 August 2012 at 12:55:04 UTC, Regan Heath wrote:

> Like it or not, Digest is the correct term:
> http://en.wikipedia.org/wiki/MD5
> "The MD5 Message-Digest Algorithm .."

You could have cited the hole sentence

> The MD5 Message-Digest Algorithm is a widely used cryptographic 
> hash function

So at least this implies that hash function is the more general 
term here and the corresponding wiki article is named "hash 
function" and does not even mention digest.

>> I didn't think of an hash table implementation, maybe you are 
>> spoiled by writing one at the moment? (no offence).
>
> "Hash" has too many meanings, we should avoid it.

At least hash table does not use a different meaning of the term 
hash.

But I'm not that deep into it, I'd just say that digest is not 
clearly better than hash.


More information about the Digitalmars-d mailing list