Chromium Code Reviews| Index: base/sha1.h |
| diff --git a/base/sha1.h b/base/sha1.h |
| index dd4368688f183323daf0f54cad8cde6c3fde9434..21f07778353aaaec0cc39a9d3e3007a45432c9fe 100644 |
| --- a/base/sha1.h |
| +++ b/base/sha1.h |
| @@ -20,6 +20,11 @@ enum { |
| // hash. |
| std::string SHA1HashString(const std::string& str); |
| +// Computes the SHA-1 hash of the |len| bytes in |data| and puts the hash |
| +// in |hash_array|. |
| +void SHA1HashBytes(const unsigned char* data, size_t len, |
| + unsigned char* hash_array); |
|
wtc
2011/03/11 18:46:15
Nit: |hash_array| can be shortened to |hash|.
Ple
hans
2011/03/13 19:48:16
done
|
| + |
| } // namespace base |
| #endif // BASE_SHA1_H_ |