Go to the documentation of this file.
63 #define BUFSIZE 1024*16
66 void pt(
unsigned char *md);
68 int read(
int,
void *,
unsigned int);
71 int main(
int argc,
char **argv)
82 for (i=1; i<argc; i++)
84 IN=fopen(argv[i],
"r");
91 printf(
"SHA1(%s)= ",argv[i]);
119 void pt(
unsigned char *md)
124 printf(
"%02x",md[i]);