Browse Source

Update README.md

legacy
Marek 10 years ago
parent
commit
efd783166e
  1. 6
      README.md

6
README.md

@ -20,15 +20,15 @@ int main(int argc,char** argv){
/* MD5 from c-string */
printf("md5sum: %s\n", md5sum( cstring ).c_str());
/* MD5 from filename */
printf("md5file: %s\n", md5file("README.md").c_str());
/* Short MD5 from c-string */
printf("md5sum6: %s\n", md5sum6( cstring ).c_str());
/* Short MD5 from std::string */
printf("md5sum6: %s\n", md5sum6( str ).c_str());
/* MD5 from filename */
printf("md5file: %s\n", md5file("README.md").c_str());
/* MD5 from opened file */
std::FILE* file = std::fopen("README.md", "rb");
printf("md5file: %s\n", md5file(file).c_str());

Loading…
Cancel
Save