| static constexpr uint8_t max() |
| return std::numeric_limits<uint8_t>::max(); |
| static constexpr uint8_t min() |
| return std::numeric_limits<uint8_t>::min(); |
| // all generators require this variable |
| using result_type = uint8_t; |
| // RAND_bytes() returns 1 on success, 0 otherwise. -1 if bad function |
| static constexpr int opensslSuccess = 1; |
| std::string getRandomUUID(); |
| std::string getRandomIdOfLength(size_t length); |
| bool constantTimeStringCompare(std::string_view a, std::string_view b); |
| struct ConstantTimeCompare |
| bool operator()(std::string_view a, std::string_view b) const; |