Function random_string

Source
pub fn random_string() -> String
Expand description

Generates a random hexadecimal string of 32 characters.

Uses the thread-local random number generator to fill a 16-byte buffer, which is then encoded into a hexadecimal string.

ยงReturns

A randomly generated 32-character hexadecimal string.