pub fn authgen(_a: &String) -> Mke08SecretAuthorityKey {
    // random number generator
    let mut _rng = rand::thread_rng();
    // return secret authority key
    return Mke08SecretAuthorityKey {
        _a: _a.clone(),
        _r: _rng.gen(),
    };
}
/// Sets up and generates a new Authority by creating a secret authority key (SKauth).
/// The key is created for an authority with a given "name".
///
/// # Arguments
///
///	* `_a` - The name of the authority the key is associated with. Must be unique.
///
Sets up and generates a new Authority by creating a secret authority key (SKauth).
The key is created for an authority with a given "name".
Sets up and generates a new Authority by creating a secret authority key ( SKauth ) . The key is created for an authority with a given " name " .
pub fn authgen(_a: &String) -> Mke08SecretAuthorityKey {
    // random number generator
    let mut _rng = rand::thread_rng();
    // return secret authority key
    return Mke08SecretAuthorityKey {
        _a: _a.clone(),
        _r: _rng.gen(),
    };
}
pub fn authgen ( _a : & String ) -> Mke08SecretAuthorityKey { // random number generator let mut _rng = rand :: thread_rng ( ) ; // return secret authority key return Mke08SecretAuthorityKey { _a : _a . clone ( ) , _r : _rng . gen ( ) , } ; }
Sets up and generates a new Authority by creating a secret authority key (SKauth).
Sets up and generates a new Authority by creating a secret authority key ( SKauth ) .
_a
&String
_a
&String