Chromium Code Reviews| Index: base/sha1.h |
| diff --git a/base/sha1.h b/base/sha1.h |
| index dd4368688f183323daf0f54cad8cde6c3fde9434..80540c102c54d9afc58f6acc9e3e51b6d9f264c6 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|. |hash| must be SHA1_LENGTH bytes long. |
| +void SHA1HashBytes(const unsigned char* data, size_t len, |
| + unsigned char* hash); |
| + |
| } // namespace base |
| #endif // BASE_SHA1_H_ |