| 84 | } |
| 85 | |
| 86 | std::string PureRandomHexDigits( int num ) |
| 87 | { |
| 88 | if (!CGOptions::is_random()) { |
| 89 | RNDNUM_GENERATOR old; |
| 90 | old = RandomNumber::SwitchRndNumGenerator(rDefaultRndNumGenerator); |
| 91 | std::string rv = RandomHexDigits(num); |
| 92 | RandomNumber::SwitchRndNumGenerator(old); |
| 93 | return rv; |
| 94 | } |
| 95 | else { |
| 96 | return RandomHexDigits(num); |
| 97 | } |
| 98 | } |
| 99 | |
| 100 | std::string PureRandomDigits( int num ) |
| 101 | { |
nothing calls this directly
no test coverage detected