linera_views::random

Function generate_random_alphanumeric_string

Source
pub fn generate_random_alphanumeric_string(
    length: usize,
    charset: &[u8],
) -> String
Expand description

Get a random alphanumeric string that can be used for all tests.