Quote:
31ed4989d15e4889e24883e4f050544c8d059a01
If that is the hexadecimal string representation of an array of bytes then you should do something like:
unsigned char s[] = { 0x31, 0xed, 0x49, 0x89, ..., 0x01};
unsigned char h[20];
RIPEMD160(s, sizeof(s), h);
(you should replace the
...
with the actual numbers, of course).