- May 31, 2001
- 10,027
- 1
- 81
I'm in the process of trying to md5 hash a string variable in the C programming language.
At the top I have
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <memory.h>
#include <md5.h>
#include <sys/types.h>
I have a char variable called "test" and another char variable called "test2".
char test[200];
char test2[200];
One of the variables (test) contains data I want to have md5 hashed.
if I type "man md5" I get info but no syntax examples (I'm using freebsd)
Would anyone know the probably syntax?
At the top I have
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <memory.h>
#include <md5.h>
#include <sys/types.h>
I have a char variable called "test" and another char variable called "test2".
char test[200];
char test2[200];
One of the variables (test) contains data I want to have md5 hashed.
if I type "man md5" I get info but no syntax examples (I'm using freebsd)
Would anyone know the probably syntax?