Struct dusk_pki::SecretSpendKey [−][src]
pub struct SecretSpendKey { /* fields omitted */ }
Expand description
Secret pair of a
and b
defining a SecretSpendKey
Implementations
This method is used to construct a new SecretSpendKey
from the given
secret pair of a
and b
.
Gets a
Gets b
Deterministically create a new SecretSpendKey
from a random number
generator
Generates a SecretKey
using the StealthAddress
given.
With the formula: sk_r = H(a · R) + b
Derive the secret to deterministically construct a PublicSpendKey
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for SecretSpendKey
impl Send for SecretSpendKey
impl Sync for SecretSpendKey
impl Unpin for SecretSpendKey
impl UnwindSafe for SecretSpendKey
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 `