RIPEMD160.finish

ubyte[20] finish() @trusted pure nothrow @nogc

Returns the finished RIPEMD160 hash. This also calls start to reset the internal state.

Example: -------- //Simple example RIPEMD160 hash; hash.start(); hash.put(cast(ubyte) 0); ubyte[20] result = hash.finish(); assert(toHexString(result) == "C81B94933420221A7AC004A90242D8B1D3E5070D"); --------