RIPEMD-160 Final Value Construction and Output
Final Value Construction
The last step in the RIPEMD-160 hash function is to build the final value and print it to standard output in hexadecimal.
In our implementation of RIPEMD-160, we use the function PrintFinalHashValuesInHex to build our output value from our calculated hash values, i.e. final chaining values:
We then we return it to our main input/output function and print it to standard output:
And that's how RIPEMD-160 works. And we can verify its correctness by testing it against the test values supplied in Dobbertin et. al.'s paper:
Last updated
Was this helpful?

