16     static std::string 
generate(std::vector<std::string> arguments,
 
   17                                 size_t world_pid = 0) {
 
   19         std::string hash_input = 
"";
 
   21         for (
const std::string &
arg: arguments ) {
 
   25         hash_input += 
"_" + std::to_string(world_pid);
 
   27         std::hash<std::string> hashFunction;
 
   28         size_t hash_value = hashFunction(hash_input);
 
   30         std::ostringstream hash_str;
 
   31         hash_str << std::hex << hash_value;
 
   33         reverse(hash_input.begin(), hash_input.end());
 
   34         hash_value = hashFunction(hash_input);
 
   35         hash_str << hash_value;
 
   37         return hash_str.str();
 
static std::string generate(std::vector< std::string > arguments, size_t world_pid=0)