Austin Schuh | b0e439d | 2023-05-15 10:55:40 -0700 | [diff] [blame] | 1 | #ifndef AOS_SHA256_H_ |
2 | #define AOS_SHA256_H_ | ||||
3 | |||||
4 | #include <string> | ||||
5 | |||||
6 | #include "absl/types/span.h" | ||||
7 | |||||
8 | namespace aos { | ||||
9 | |||||
10 | // Returns the sha256 of a span. | ||||
11 | std::string Sha256(const absl::Span<const uint8_t> str); | ||||
12 | |||||
13 | } // namespace aos | ||||
14 | |||||
15 | #endif // AOS_SHA256_H_ |