View source code Display the source code in std/digest/ripemd.d from which this page was generated on github. Improve this page Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using local clone. Page wiki View or edit the community-maintained wiki page associated with this page.

Function std.digest.ripemd.RIPEMD160.start

Used to (re)initialize the RIPEMD160 digest.

Prototype

void start() pure nothrow @nogc @safe;

Note

For this RIPEMD160 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.

Examples

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

Authors

Kai Nacke
The algorithm was designed by Hans Dobbertin, Antoon Bosselaers, and Bart Preneel.
The D implementation is a direct translation of the ANSI C implementation by Antoon Bosselaers.

License

Boost License 1.0.

Comments