Struct pvss::crypto::PrivateKey
[−]
[src]
pub struct PrivateKey { pub scalar: Scalar, }
Fields
scalar: Scalar
Methods
impl PrivateKey
[src]
fn to_bytes(&self) -> Vec<u8>
fn from_bytes(bytes: &[u8]) -> PrivateKey
Trait Implementations
impl PartialEq for PrivateKey
[src]
fn eq(&self, __arg_0: &PrivateKey) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PrivateKey) -> bool
This method tests for !=
.