]> git.mxchange.org Git - simgear.git/blobdiff - simgear/misc/strutils.hxx
Fix #1783: repeated error message on console
[simgear.git] / simgear / misc / strutils.hxx
index 9070b246cb0ad3b6bf83ef9c3562632d87553664..2b02909ede30e8afbe912c72b954b6e40a7cb62e 100644 (file)
@@ -176,6 +176,13 @@ namespace simgear {
     WCharVec convertUtf8ToWString(const std::string& a);
 #endif
 
+    /**
+     * Get md5 hash of raw data.
+     */
+    std::string md5(const unsigned char* data, size_t num);
+    std::string md5(const char* data, size_t num);
+    std::string md5(const std::string& str);
+
     /**
      * convert base-64 encoded data to raw bytes (possibly with embedded
      * NULs). Throws an exception if input data is not base64, or is