MD5, SHA1, SHA256, CRC32

Walter Bright newshound2 at digitalmars.com
Tue Apr 10 10:26:14 PDT 2012


On 4/10/2012 2:25 AM, Russel Winder wrote:
> I'm in need of calculating these numbers as part of a program.  Java,
> Python, Go, all provide these algorithms "out of the box".  From what I
> can see D does not.  There is a crc32 module and a std/md5 module but...
>
> Have I just missed something?

The crc32 and md5 are two of them. Nobody has done the others. I know the md5 
one is a straightforward translation from the C version. The others could be 
done the same way.

Also, there's:

https://github.com/D-Programming-Deimos/openssl



More information about the Digitalmars-d mailing list