pub struct Pepper(/* private fields */);Available on crate feature
keyless only.Expand description
Pepper bytes used in keyless address derivation.
§Security
The pepper is secret material used to derive keyless account addresses. It is automatically zeroized when dropped to prevent key material from lingering in memory.
Implementations§
Trait Implementations§
impl Eq for Pepper
impl StructuralPartialEq for Pepper
Auto Trait Implementations§
impl Freeze for Pepper
impl RefUnwindSafe for Pepper
impl Send for Pepper
impl Sync for Pepper
impl Unpin for Pepper
impl UnsafeUnpin for Pepper
impl UnwindSafe for Pepper
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.