Function diem_crypto::test_utils::uniform_keypair_strategy
source · pub fn uniform_keypair_strategy<Priv, Pub>(
) -> impl Strategy<Value = KeyPair<Priv, Pub>>where
Pub: Serialize + for<'a> From<&'a Priv>,
Priv: Serialize + Uniform,
Expand description
Produces a uniformly random keypair from a seed