diff options
Diffstat (limited to 'boost/uuid/name_generator_sha1.hpp')
-rw-r--r-- | boost/uuid/name_generator_sha1.hpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/boost/uuid/name_generator_sha1.hpp b/boost/uuid/name_generator_sha1.hpp new file mode 100644 index 0000000000..849c75fd02 --- /dev/null +++ b/boost/uuid/name_generator_sha1.hpp @@ -0,0 +1,26 @@ +// Boost name_generator_sha1.hpp header file ------------------------// + +// Copyright 2010 Andy Tompkins. +// Copyright 2017 James E. King, III + +// Distributed under the Boost Software License, Version 1.0. (See +// accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_UUID_NAME_GENERATOR_SHA1_HPP +#define BOOST_UUID_NAME_GENERATOR_SHA1_HPP + +#include <boost/uuid/basic_name_generator.hpp> +#include <boost/uuid/detail/sha1.hpp> + +namespace boost { +namespace uuids { + +//! \brief SHA1 hashing is the default method defined in RFC 4122 to be +//! used when backwards compatibility is not necessary. +typedef basic_name_generator<detail::sha1> name_generator_sha1; + +} // uuids +} // boost + +#endif // BOOST_UUID_NAME_GENERATOR_SHA1_HPP |