![]() |
MySQL 9.3.0
Source Code Documentation
|
Generate nonce
character.
More...
Static Public Member Functions | |
static std::vector< char > | get_prinatable_characters () |
Return array containing only ASCI printable characters. More... | |
static char | generate () |
![]() | |
static int | get_random_int (int range) |
Static method that generates random number. More... | |
Generate nonce
character.
The nonce
must consist only from ASCI characters that are printable.
|
inlinestatic |
|
inlinestatic |
Return array containing only ASCI printable characters.
The fact is that printable characters are all in following range: 32 - 126, still to have simpler code that needs no double checking, the array is provides back.
Nonce
excludes comma from the range.