Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(81)

Side by Side Diff: testing/utils/md5.h

Issue 2514173002: Check dimensions and content of bitmaps in EmbedderTests. (Closed)
Patch Set: Fix Mac bots, but will other Macs be happy? Probably. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef TESTING_UTILS_MD5_H_
6 #define TESTING_UTILS_MD5_H_
7
8 #include <stddef.h>
9
10 #include <string>
11
12 namespace pdfium {
13
14 // MD5 stands for Message Digest algorithm 5.
15 // MD5 is a robust hash function, designed for cyptography, but often used
Tom Sepez 2016/11/21 18:18:26 nit: s/is/was/ :). Just give the link to wikipedi
16 // for file checksums. The code is complex and slow, but has few
17 // collisions.
18 // See Also:
19 // http://en.wikipedia.org/wiki/MD5
20
21 // Returns the MD5 (in hexadecimal) of a string.
22 std::string MD5String(const void* data, size_t size);
23
24 } // namespace pdfium
25
26 #endif // TESTING_UTILS_MD5_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698