pub struct PublicKey(/* private fields */);
Expand description
A public key for verifying signatures.
The public key is a Word (i.e., 4 field elements) that is the hash of the coefficients of the polynomial representing the raw bytes of the expanded public key. The hash is computed using Rpo256.
Implementations§
Trait Implementations§
source§impl From<PubKeyPoly> for PublicKey
impl From<PubKeyPoly> for PublicKey
source§fn from(pk_poly: PubKeyPoly) -> Self
fn from(pk_poly: PubKeyPoly) -> Self
Converts to this type from the input type.
impl Copy for PublicKey
impl Eq for PublicKey
impl StructuralPartialEq for PublicKey
Auto Trait Implementations§
impl Freeze for PublicKey
impl RefUnwindSafe for PublicKey
impl Send for PublicKey
impl Sync for PublicKey
impl Unpin for PublicKey
impl UnwindSafe for PublicKey
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)