SyTen

◆ random_hash()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: