Missing things in Phobos
Piotr Szturmaj
bncrbme at jadamspam.pl
Thu Oct 20 03:36:56 PDT 2011
Steve Teale wrote:
> I'm sure that there's quite a long list, but two things I've bumped into
> with using the MySQL protocol are:
>
> 1) We don't have SHA1 - I know there are people working on this. I've
> done a version that is as close to the reference C implementation as I
> could make myself keep it. This may be useful as a check for others doing
> more efficient implementations. If you want it, please let me know.
https://github.com/pszturmaj/dmisc/blob/master/sha.d
It works for octet/byte hashing. It needs some polishing for handling
per bit hashing.
> Related issue is should we have std.digest instead of std.md5
What about:
std.crypto.hash.md5
std.crypto.hash.sha
std.crypto.hash.whirlpool
std.crypto.hash.etc?
or std.crypt.* ?
More information about the Digitalmars-d
mailing list