1 #include "ossl_random.hpp" 2 3 #include <boost/uuid/uuid_generators.hpp> 4 #include <boost/uuid/uuid_io.hpp> 5 6 std::string bmcweb::getRandomUUID() 7 { 8 using bmcweb::OpenSSLGenerator; 9 OpenSSLGenerator ossl; 10 return boost::uuids::to_string( 11 boost::uuids::basic_random_generator<OpenSSLGenerator>(ossl)()); 12 } 13