Struct glycos::crypto::ec::PrivateKey [−][src]
pub struct PrivateKey {
inner: Scalar,
}Expand description
A raw private key
Fields
inner: ScalarImplementations
New style Schnorr signature
pub fn derive_ephemeral_pair<R: SecureRandom>(
&self,
rng: &R
) -> Result<(PublicKey, Recogniser, PrivateKey)>
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for PrivateKey
impl Send for PrivateKey
impl Sync for PrivateKey
impl Unpin for PrivateKey
impl UnwindSafe for PrivateKey
Blanket Implementations
Mutably borrows from an owned value. Read more
