// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "util/crypto/sha2.h" #include <stddef.h> #include <memory> #include "util/crypto/secure_hash.h" #include "util/std_util.h" namespace openscreen { Error SHA256HashString(std::string_view str, uint8_t output[SHA256_DIGEST_LENGTH]) { … } ErrorOr<std::string> SHA256HashString(std::string_view str) { … } } // namespace openscreen