Or login with:
#include <iostream> #include <codecogs/computing/security/md5.h> int main() { std::string data = "somewhere over the rainbow"; std::cout << "Input: " << data << std::endl; std::cout << " MD5: " << Computing::Security::md5(data) << std::endl; return 0; }Output
Input: somewhere over the rainbow MD5: fe6acc5bea48d66ac6baa60ff73f6d62
| std::stringmd5( | std::string& | str | )[inline] |
std::string md5Code = Computing::Security::Hash::md5("Hello World");
| str | the string to be hashed |
Source code is available when you agree to a GP Licence or buy a Commercial Licence.
Not a member, then Register with CodeCogs. Already a Member, then Login.
You must login to leave a messge