Browse Source

Update README.md

legacy
Marek 10 years ago
parent
commit
5858eb1d28
  1. 8
      README.md

8
README.md

@ -26,6 +26,14 @@ int main(int argc,char** argv){
/* 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 opened file */
std::FILE* file = std::fopen("README.md", "rb");
printf("md5file: %s\n", md5file(file).c_str());
std::fclose(file);
/* we're done */
return EXIT_SUCCESS;
}

Loading…
Cancel
Save