Vote for the new std.hash (oops, std.digest)
Jens Mueller
jens.k.mueller at gmx.de
Thu Aug 23 13:46:35 PDT 2012
d_follower wrote:
> On Wednesday, 22 August 2012 at 12:36:08 UTC, Dmitry Olshansky
> wrote:
> >The discussion around new unified API for digest hash functions
> >has subdued, just in time as the review period has ended.
> >
> >The voting for std.digest package starts today and ends on 29
> >August.
> >
> >Rules are simple: reply in this thread with definite "YES" or "NO"
> >on whether this package should go into Phobos. Including
> >descriptive short notes is appreciated (esp. the NO ones).
> >
> >
> >Latest locations of docs and source:
> >
> >Code: (location changed!)
> >https://github.com/jpf91/phobos/tree/newHash/std/digest
> >https://github.com/jpf91/phobos/compare/master...newHash
> >
> >Docs: (location changed!)
> >http://dl.dropbox.com/u/24218791/d/phobos/std_digest_digest.html
> >http://dl.dropbox.com/u/24218791/d/phobos/std_digest_md.html
> >http://dl.dropbox.com/u/24218791/d/phobos/std_digest_sha.html
> >http://dl.dropbox.com/u/24218791/d/phobos/std_digest_crc.html
>
> Can all the algorithms work at compile time (given immutable
> constant data, e.g. a string) ? YES : NO.
It says "Digests do not work in CTFE".
Just checked it for MD5.
I do not know but I think this is just a current limitation of the CTFE
implementation.
Jens
More information about the Digitalmars-d
mailing list