fix RIPEMD160 value

buggy one was treating the input as a string instead of binary