summaryrefslogtreecommitdiff
path: root/includes/xmpmeta/md5.h
blob: a3e8a7f7729dbdccf6fa00b3eed799dbef45f3c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef DYNAMIC_DEPTH_INCLUDES_XMPMETA_MD5_H_  // NOLINT
#define DYNAMIC_DEPTH_INCLUDES_XMPMETA_MD5_H_  // NOLINT

#include <string>

#include "base/port.h"

namespace photos_editing_formats {

// Returns the MD5 hash of to_hash as a 32-character hex string.
// Wrapper around OpenSSL to avoid Gyp dependency problems.
string MD5Hash(const string& to_hash);

}  // namespace photos_editing_formats

#endif // DYNAMIC_DEPTH_INCLUDES_XMPMETA_MD5_H_  // NOLINT