Go to the documentation of this file.
61 #include <openssl/md2.h>
63 #define BUFSIZE 1024*16
66 void pt(
unsigned char *md);
67 int read(
int,
void *,
unsigned int);
69 int main(
int argc,
char *argv[])
80 for (i=1; i<argc; i++)
82 IN=fopen(argv[i],
"r");
89 printf(
"MD2(%s)= ",argv[i]);
103 static unsigned char buf[
BUFSIZE];
117 void pt(
unsigned char *md)
122 printf(
"%02x",md[i]);