8 #include <openssl/sha.h> 13 const auto *bytes_ptr =
reinterpret_cast<const uint8_t *
>(input.data());
21 SHA256_Update(&ctx, input.data(), input.size());
22 SHA256_Final(out.data(), &ctx);
gsl::span< const uint8_t > make_span(const rocksdb::Slice &s)
common::Hash256 sha256(std::string_view input)