fn gen_sign_keypair_from_seed(seed: &Seed) -> (PublicSignKey, SecretSignKey) {
    let (sign_pk, sign_sk) = sign::keypair_from_seed(&seed.seed);
    let pub_sign_key = PublicSignKey { sign: sign_pk };
    let sec_sign_key = SecretSignKey {
        inner: Arc::new(SecretSignKeyInner { sign: sign_sk }),
    };
    (pub_sign_key, sec_sign_key)
}
/// Construct random public and secret signing key pair from a seed.
Construct random public and secret signing key pair from a seed.
Construct random public and secret signing key pair from a seed .
fn gen_sign_keypair_from_seed(seed: &Seed) -> (PublicSignKey, SecretSignKey) {
    let (sign_pk, sign_sk) = sign::keypair_from_seed(&seed.seed);
    let pub_sign_key = PublicSignKey { sign: sign_pk };
    let sec_sign_key = SecretSignKey {
        inner: Arc::new(SecretSignKeyInner { sign: sign_sk }),
    };
    (pub_sign_key, sec_sign_key)
}
fn gen_sign_keypair_from_seed ( seed : & Seed ) -> ( PublicSignKey , SecretSignKey ) { let ( sign_pk , sign_sk ) = sign :: keypair_from_seed ( & seed . seed ) ; let pub_sign_key = PublicSignKey { sign : sign_pk } ; let sec_sign_key = SecretSignKey { inner : Arc :: new ( SecretSignKeyInner { sign : sign_sk } ) , } ; ( pub_sign_key , sec_sign_key ) }
Construct random public and secret signing key pair from a seed.
Construct random public and secret signing key pair from a seed .
seed
&Seed
seed
&Seed