sha1Of() crashing and incorrect result on win64

knutaf a at b.com
Thu Mar 6 09:16:37 PST 2014


On Thursday, 6 March 2014 at 16:58:00 UTC, Peter Alexander wrote:
> Known issue
>
> https://d.puremagic.com/issues/show_bug.cgi?id=9279

Thanks. Is this suggesting that if I don't use toHexString, I 
won't see the problem? Because if I do:

auto result = sha1Of("abc");
writefln("%s", result[0]);

I still see it's showing the wrong answer (and crashes).

Or is this problematic cast/construction used in other parts of 
the SHA1 implementation's guts?


More information about the Digitalmars-d mailing list