MySQL 9.1.0
Source Code Documentation
|
Functions | |
bool | get_random_data (const std::unique_ptr< unsigned char[]> &data, size_t length) |
Generate random data. More... | |
bool keyring_common::utils::get_random_data | ( | const std::unique_ptr< unsigned char[]> & | data, |
size_t | length | ||
) |
Generate random data.
[in,out] | data | Managed pointer to data. Should have been initialized |
[in] | length | Length of the data to be generated |
true | Success. data contains generated data. |
false | Error. Do not rely on data. |