std.digest.md
- Computes MD5 hashes of arbitrary data. MD5 hashes are 16 byte quantities that are like a
- checksum or CRC, but are more robust. *
- This module conforms to the APIs defined in
std.digest. To understand the - differences between the template and the OOP API, see
std.digest. - This module publicly imports
std.digestand can be used as a stand-alone - module.
License
Types 2
structMD5
Template API MD5 implementation. See std.digest for differences between template and OOP API.
Fields
uint[4] _stateulong _countubyte[64] _bufferubyte[64] _padding blockSizeMethods
uint F(uint x, uint y, uint z)uint G(uint x, uint y, uint z)uint H(uint x, uint y, uint z)uint I(uint x, uint y, uint z)void FF(ref uint a, uint b, uint c, uint d, uint x, uint s, uint ac) static @safe pure nothrow @nogcvoid GG(ref uint a, uint b, uint c, uint d, uint x, uint s, uint ac) static @safe pure nothrow @nogcvoid HH(ref uint a, uint b, uint c, uint d, uint x, uint s, uint ac) static @safe pure nothrow @nogcvoid II(ref uint a, uint b, uint c, uint d, uint x, uint s, uint ac) static @safe pure nothrow @nogcvoid put(scope const(ubyte)[] data...) @trusted pure nothrow @nogcUse this to feed the digest with data. Also implements the isOutputRange interface for `ubyte` and `const(ubyte)[]`.ubyte[16] finish() @trusted pure nothrow @nogcReturns the finished MD5 hash. This also calls start to reset the internal state.aliasMD5Digest = WrapperDigest!MD5
OOP API MD5 implementation. See std.digest for differences between template and OOP API.
This is an alias for , see there for more information.WrapperDigest!MD5