The OpenD Programming Language

SHA.start

SHA initialization. Begins an SHA1/SHA2 operation.

Note: For this SHA Digest implementation calling start after default construction is not necessary. Calling start is only necessary to reset the Digest.

Generic code which deals with different Digest types should always call start though.

struct SHA(uint hashBlockSize, uint digestSize)
@safe pure nothrow @nogc
void
start
()

Examples

SHA1 digest;
//digest.start(); //Not necessary
digest.put(0);

Meta