#include <stdio.h>
#include "../lib/md5.h"
Defines | |
#define | bufsize 2048 |
Buffersize for reading the file to generate a md5sum of it, for calculate_md5sum(). More... | |
Functions | |
char * | calculate_md5sum (char *filename) |
Calculate the md5sum of a file. More... | |
main (int argc, char *argv[]) | |
Variables | |
char | md5sums [4][16] |
|
Buffersize for reading the file to generate a md5sum of it, for calculate_md5sum().
|
|
Calculate the md5sum of a file.
|
|
|
|
Initial value: { { 0x9e, 0xb2, 0x86, 0x6e, 0x09, 0xcd, 0x47, 0xed, 0x53, 0x2d, 0x99, 0xb9, 0xc3, 0xcd, 0x4a, 0x86 }, { 0xd2, 0xb6, 0x5a, 0xe7, 0x29, 0xe7, 0x93, 0x3c, 0x9c, 0xa9, 0x1c, 0x88, 0xdb, 0x7c, 0xd0, 0xfc }, { 0x4d, 0x3c, 0x9e, 0xff, 0xe9, 0xb4, 0x97, 0x9a, 0x4b, 0xc7, 0xce, 0x2e, 0x45, 0xdf, 0x21, 0xd2 }, { 0xf5, 0x5c, 0x17, 0x5c, 0x5f, 0x26, 0x98, 0xf9, 0xb2, 0xcc, 0xf7, 0xba, 0x72, 0x01, 0x4b, 0x14 }, } |