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