std.digest: can we get rid of start() functions?

Piotr Szturmaj bncrbme at jadamspam.pl
Wed Oct 10 09:21:10 PDT 2012


H. S. Teoh wrote:
> Then you could just write:
>
> 	SHA1 sha1;
> 	// calculate hash
> 	sha1 = SHA1.init;
> 	// calculate hash
> 	...
>

In my proposal reset() does exactly the same.


More information about the Digitalmars-d mailing list