(rng: &mut R)
| 47 | } |
| 48 | |
| 49 | pub fn random<R: Rng>(rng: &mut R) -> Self { |
| 50 | Self(libsecp256k1::SecretKey::random(rng)) |
| 51 | } |
| 52 | |
| 53 | pub fn public_key(&self) -> PublicKey { |
| 54 | PublicKey::from_secret_key(&self.0) |
nothing calls this directly
no outgoing calls
no test coverage detected