Function diem_sdk::crypto::test_utils::uniform_keypair_strategy[][src]

pub fn uniform_keypair_strategy<Priv, Pub>(
) -> impl Strategy<Value = KeyPair<Priv, Pub>> where
    Priv: Serialize + Uniform,
    Pub: Serialize + for<'a> From<&'a Priv>, 
Expand description

Produces a uniformly random keypair from a seed