md5 hash a string or char array in SCO

Can someone provide me with code to md5 hash a string or character array in the SCO environment.

All help is appreciated thanks.

The RSA webistei used to have this code - I can't find it there

When I compile this code I get errors:

undefined first referenced
symbol in file
MD5Init mddriver.o
MD5Update mddriver.o
MD5Final mddriver.o
i386ld fatal: Symbol referencing errors. No output written to a.out

From what I have read I only need md5.c because I am trying to use this in another program.

I have no idea how you compiled the code. Put all the files in the same directory - call it md5 or soemthing.

 cc -o mddriver mddriver.c md5.c

This works just fine for me. It's standard C.

The mddriver is there to show you how to use it and to verify that the code works
on your box.

Thanks, Jim.