blob: cb6a6117c0932641187a17fb1d54d95de182d9c2 [file] [edit]
// Copyright 2021 The ChromiumOS Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CRYPTOHOME_UTIL_GET_RANDOM_SUFFIX_H_
#define CRYPTOHOME_UTIL_GET_RANDOM_SUFFIX_H_
#include <string>
#include <brillo/brillo_export.h>
namespace cryptohome {
// Creates a random string suitable to append to a filename. Returns an empty
// string in case of error.
BRILLO_EXPORT std::string GetRandomSuffix();
} // namespace cryptohome
#endif // CRYPTOHOME_UTIL_GET_RANDOM_SUFFIX_H_