Struct dusk_pki::StealthAddress [−][src]
pub struct StealthAddress { /* fields omitted */ }
To obfuscate the identity of the participants, we utilizes a Stealth Address
system.
A StealthAddress
is composed by a one-time public key (pk_r
, the actual
Implementations
impl StealthAddress
[src]
impl StealthAddress
[src]pub fn R(&self) -> &JubJubExtended
[src]
Gets the random point R
pub fn pk_r(&self) -> &PublicKey
[src]
Gets the pk_r
pub fn address(&self) -> &JubJubExtended
[src]
Gets the underline JubJubExtended
point of pk_r
Trait Implementations
impl Clone for StealthAddress
[src]
impl Clone for StealthAddress
[src]fn clone(&self) -> StealthAddress
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl ConstantTimeEq for StealthAddress
[src]
impl ConstantTimeEq for StealthAddress
[src]impl Copy for StealthAddress
[src]
impl Copy for StealthAddress
[src]impl Ownable for StealthAddress
[src]
impl Ownable for StealthAddress
[src]fn stealth_address(&self) -> &StealthAddress
[src]
impl PartialEq<StealthAddress> for StealthAddress
[src]
impl PartialEq<StealthAddress> for StealthAddress
[src]impl Serializable<64_usize> for StealthAddress
[src]
impl Serializable<64_usize> for StealthAddress
[src]Auto Trait Implementations
impl RefUnwindSafe for StealthAddress
impl RefUnwindSafe for StealthAddress
impl Send for StealthAddress
impl Send for StealthAddress
impl Sync for StealthAddress
impl Sync for StealthAddress
impl Unpin for StealthAddress
impl Unpin for StealthAddress
impl UnwindSafe for StealthAddress
impl UnwindSafe for StealthAddress
Blanket Implementations
impl<T, const N: usize> DeserializableSlice<N> for T where
T: Serializable<N>,
[src]
impl<T, const N: usize> DeserializableSlice<N> for T where
T: Serializable<N>,
[src]impl<T, const N: usize> ParseHexStr<N> for T where
T: Serializable<N>,
[src]
impl<T, const N: usize> ParseHexStr<N> for T where
T: Serializable<N>,
[src]pub fn from_hex_str(s: &str) -> Result<Self, Self::Error> where
Self::Error: BadLength,
Self::Error: InvalidChar,
[src]
Self::Error: BadLength,
Self::Error: InvalidChar,