#include <sys/types.h>
#include <stdio.h>
#include <time.h>
#include <string.h>
#include "ripemd.h"
static void
RIPEMD160String(const char *string)
{
char buf[2*20 + 1];
printf("RIPEMD160 (\"%s\") = %s\n",
string, RIPEMD160_Data(string, strlen(string), buf));
}
int
main(void)
{
printf("RIPEMD160 test suite:\n");
RIPEMD160String("");
RIPEMD160String("abc");
RIPEMD160String("message digest");
RIPEMD160String("abcdefghijklmnopqrstuvwxyz");
RIPEMD160String("ABCDEFGHIJKLMNOPQRSTUVWXYZ"
"abcdefghijklmnopqrstuvwxyz0123456789");
RIPEMD160String("1234567890123456789012345678901234567890"
"1234567890123456789012345678901234567890");
return 0;
}