Turi Create  4.0
md5.hpp
1 /* Copyright © 2017 Apple Inc. All rights reserved.
2  *
3  * Use of this source code is governed by a BSD-3-clause license that can
4  * be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause
5  */
6 #ifndef UTIL_MD5_HPP
7 #define UTIL_MD5_HPP
8 #include <string>
9 namespace turi {
10 
11 /**
12  * \ingroup util
13  * Computes the md5 checksum of a string, returning the md5 checksum in a
14  * hexadecimal string
15  */
16 std::string md5(std::string val);
17 
18 /**
19  * \ingroup util
20  * Returns a 16 byte (non hexadecimal) string of the raw md5.
21  */
22 std::string md5_raw(std::string val);
23 
24 } // namespace turi
25 #endif
std::string md5_raw(std::string val)
std::string md5(std::string val)