std::string syten::random_hash | ( | Index const | length, |
std::string | allowed = "" |
||
) |
Returns random hash.
If no chars are specified will pick approriate set.
References std::string::at(), std::string::begin(), std::string::empty(), syten::Random::genEngine(), std::generate_n(), and std::string::size().
Referenced by cacheFilename().