pub fn generate_new_seed() -> String {
    let mut rng = thread_rng();
    let mut seed = String::new();
    for _i in 0..iota_constants::SEED_LENGTH_MAX {
        let x = rng.gen_range(0, iota_constants::TRYTE_ALPHABET.len());
        seed.push(iota_constants::TRYTE_ALPHABET[x]);
    }
    seed
}
/// Generates a cryptographically secure random seed
Generates a cryptographically secure random seed
Generates a cryptographically secure random seed
pub fn generate_new_seed() -> String {
    let mut rng = thread_rng();
    let mut seed = String::new();
    for _i in 0..iota_constants::SEED_LENGTH_MAX {
        let x = rng.gen_range(0, iota_constants::TRYTE_ALPHABET.len());
        seed.push(iota_constants::TRYTE_ALPHABET[x]);
    }
    seed
}
pub fn generate_new_seed ( ) -> String { let mut rng = thread_rng ( ) ; let mut seed = String :: new ( ) ; for _i in 0 .. iota_constants :: SEED_LENGTH_MAX { let x = rng . gen_range ( 0 , iota_constants :: TRYTE_ALPHABET . len ( ) ) ; seed . push ( iota_constants :: TRYTE_ALPHABET [ x ] ) ; } seed }
Generates a cryptographically secure random seed
Generates a cryptographically secure random seed