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