blob: 771fa375aada3f3b915edce26f8c3b7586506ba1 [file] [log] [blame]
// Copyright 2017 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 COBALT_SRC_LIB_UTIL_HASH_H_
#define COBALT_SRC_LIB_UTIL_HASH_H_
#include <string>
namespace cobalt::util {
// Computes the farmhash::Fingerprint128 of the input data.
std::string FarmhashFingerprint(const std::string& data);
uint64_t Farmhash64(const std::string& data);
} // namespace cobalt::util
#endif // COBALT_SRC_LIB_UTIL_HASH_H_