New hash API: Update

Dmitry Olshansky dmitry.olsh at gmail.com
Sun Jun 24 11:09:58 PDT 2012


On 24-Jun-12 19:23, 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.
>
> 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.


To be frank almost anything could 'nicely fit' into util. That's why we 
should avoid this abomination at all costs.
std.crypto
or
std.checksum

-- 
Dmitry Olshansky




More information about the Digitalmars-d mailing list