Struct dusk_pki::ViewKey [−][src]
pub struct ViewKey { /* fields omitted */ }
Expand description
Pair of a secret a
and public b·G
The notes are encrypted against secret a, so this is used to decrypt the blinding factor and value
Implementations
This method is used to construct a new ViewKey
from the given
pair of secret a
and public b·G
.
Derive the secret to deterministically construct a PublicSpendKey
Gets a
Gets B
(b·G
)
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for ViewKey
impl UnwindSafe for ViewKey
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 `