#include <RandomURLSafeString.h>
Generates string of random URL-safe characters.
|
| RandomUrlSafeString (std::shared_ptr< RandomBytes > randomBytes) |
| Constructs new instance.
|
|
virtual std::string | generate (std::size_t length) |
| Generates random string.
|
|
◆ RandomUrlSafeString()
tenduke::utl::random::RandomUrlSafeString::RandomUrlSafeString |
( |
std::shared_ptr< RandomBytes > | randomBytes | ) |
|
|
inlineexplicit |
Constructs new instance.
- Parameters
-
randomBytes | for generating random bytes |
◆ generate()
std::string tenduke::utl::random::RandomUrlSafeString::generate |
( |
std::size_t | length | ) |
|
|
virtual |
Generates random string.
- Parameters
-
length | num characters to generate |
- Returns
- random string of length
The documentation for this class was generated from the following files: