name_generator_sha1.hpp 781 B

1234567891011121314151617181920212223242526
  1. // Boost name_generator_sha1.hpp header file ------------------------//
  2. // Copyright 2010 Andy Tompkins.
  3. // Copyright 2017 James E. King III
  4. // Distributed under the Boost Software License, Version 1.0. (See
  5. // accompanying file LICENSE_1_0.txt or copy at
  6. // https://www.boost.org/LICENSE_1_0.txt)
  7. #ifndef BOOST_UUID_NAME_GENERATOR_SHA1_HPP
  8. #define BOOST_UUID_NAME_GENERATOR_SHA1_HPP
  9. #include <boost/uuid/basic_name_generator.hpp>
  10. #include <boost/uuid/detail/sha1.hpp>
  11. namespace boost {
  12. namespace uuids {
  13. //! \brief SHA1 hashing is the default method defined in RFC 4122 to be
  14. //! used when backwards compatibility is not necessary.
  15. typedef basic_name_generator<detail::sha1> name_generator_sha1;
  16. } // uuids
  17. } // boost
  18. #endif // BOOST_UUID_NAME_GENERATOR_SHA1_HPP