Struct dusk_pki::PublicSpendKey [−][src]
pub struct PublicSpendKey { /* fields omitted */ }
Expand description
Public pair of a·G
and b·G
defining a PublicSpendKey
Implementations
This method is used to construct a new PublicSpendKey
from the given
public pair of a·G
and b·G
Gets A
(a·G
)
Gets B
(b·G
)
Generates new PKr = H(A · r) · G + B
from a given r
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for PublicSpendKey
impl Send for PublicSpendKey
impl Sync for PublicSpendKey
impl Unpin for PublicSpendKey
impl UnwindSafe for PublicSpendKey
Blanket Implementations
Mutably borrows from an owned value. Read more
fn from_hex_str(s: &str) -> Result<Self, Self::Error> where
Self::Error: BadLength,
Self::Error: InvalidChar,
fn from_hex_str(s: &str) -> Result<Self, Self::Error> where
Self::Error: BadLength,
Self::Error: InvalidChar,
Parse a string slice as bytes hex representation and returns `