refactor: Change config private key type to K256Secret
#30
1 changed files with 1 additions and 0 deletions
|
@ -72,6 +72,7 @@ type HmacSha256 = hmac::Hmac<sha2::Sha256>;
|
|||
|
||||
/// An wrapper around the k256 crate to provide a simple API for ecdh key
|
||||
/// exchange and keypair generation.
|
||||
#[derive(Clone)]
|
||||
pub struct K256Secret {
|
||||
/// The private key scalar
|
||||
scalar: NonZeroScalar,
|
||||
|
|
Loading…
Reference in a new issue