New hash API: Update

Masahiro Nakagawa repeatedly at gmail.com
Sun Jun 24 09:13:41 PDT 2012


On Sunday, 24 June 2012 at 15:23:19 UTC, Johannes Pfau wrote:
> I'm mostly finished with my hash API proposal. I also ported the
> existing crc, md5 and the proposed sha1 hash to this new API.

Great! I will read docs and souce code later.

> I changed the namespace to std.util.digest. Andrei once said he 
> thinks
> std.digest/std.hash is a too narrow package and someone else 
> said
> putting crc into std.crypto.digest is ridiculous. So I did what 
> tango
> and other libraries do and created a std.util module.
>
> I think std.uuid would also fit well into std.util so it'd 
> become
> std.util.uuid.
>

I disagree this point. The name 'util' does not make any sense.
'util' seems to be very subjective.



More information about the Digitalmars-d mailing list