blob: 7fc8ceef99b9f6cdc5f3dcda62c22d817b59062e [file] [log] [blame]
// Copyright 2016 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SRC_LEDGER_BIN_ENCRYPTION_PRIMITIVES_HASH_H_
#define SRC_LEDGER_BIN_ENCRYPTION_PRIMITIVES_HASH_H_
#include <memory>
#include <string>
#include "src/lib/fxl/macros.h"
#include "src/lib/fxl/strings/string_view.h"
namespace encryption {
inline constexpr size_t kHashSize = 32;
std::string SHA256WithLengthHash(fxl::StringView data);
} // namespace encryption
#endif // SRC_LEDGER_BIN_ENCRYPTION_PRIMITIVES_HASH_H_