Skip to content

chinaran/Compute-file-or-string-md5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Compute-file-or-string-md5 - C

Compute md5 value of file or string.

Try the following:

$ gcc main_md5.c md5.c -Wall -o md5_test

$ ./md5_test

// you may get following:

[file - md5.c] md5 value:

2a2caf52cb298f177a57a3211213e141

[string - [email protected]] md5 value:

84701974fb98315895e3ed9053a0b389

// and you can check by md5sum

$ md5sum md5.c

2a2caf52cb298f177a57a3211213e141 md5.c

// Last: 16-digit md5 is the middle of 32-digit md5

About

Compute md5 value of file or string.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages