Back to index

glibc  2.9
Functions
md5c-test.c File Reference
#include <crypt.h>
#include <string.h>

Go to the source code of this file.

Functions

int main (int argc, char *argv[])

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Definition at line 5 of file md5c-test.c.

{
  const char salt[] = "$1$saltstring";
  char *cp;
  int result = 0;

  cp = crypt ("Hello world!", salt);
  result |= strcmp ("$1$saltstri$YMyguxXMBpd2TEZ.vS/3q1", cp);

  return result;
}

Here is the call graph for this function: