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);void start() @safe pure nothrow @nogcSHA initialization. Begins an SHA1/SHA2 operation.
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);