SHA.start

void start() @safe pure nothrow @nogc

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.

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