Am Wed, 10 Oct 2012 16:28:36 +0200 schrieb Johannes Pfau <[email protected]>:
> There's makeDigest which calls start for you, so you can write code > like this: > > auto sha1 = makeDigest!SHA1(); > //calculate hash > sha1.start(); //start again > //calculate hash... Just this point, I think it adds mental bloat. It is still easier to remember and shorter to use: SHA1 sha1; sha1.start(); //calculate hash sha1.start(); //calculate hash... -- Marco
