pub struct EcdsaP521SecretKey { /* private fields */ }Expand description
P-521 secret key
Contains both the raw scalar value and its byte representation for efficient operations. The scalar d must satisfy 1 ≤ d ≤ n-1 where n is the order of the base point G.
Trait Implementations§
Source§impl AsRef<[u8]> for EcdsaP521SecretKey
impl AsRef<[u8]> for EcdsaP521SecretKey
Source§impl Clone for EcdsaP521SecretKey
impl Clone for EcdsaP521SecretKey
Source§fn clone(&self) -> EcdsaP521SecretKey
fn clone(&self) -> EcdsaP521SecretKey
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Drop for EcdsaP521SecretKey
impl Drop for EcdsaP521SecretKey
Auto Trait Implementations§
impl Freeze for EcdsaP521SecretKey
impl RefUnwindSafe for EcdsaP521SecretKey
impl Send for EcdsaP521SecretKey
impl Sync for EcdsaP521SecretKey
impl Unpin for EcdsaP521SecretKey
impl UnwindSafe for EcdsaP521SecretKey
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§impl<T> ConstantTimeEquals for T
impl<T> ConstantTimeEquals for T
Source§impl<T> ToHex for T
impl<T> ToHex for T
Source§fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self into the result. Lower case
letters are used (e.g. f9b4ca)Source§fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self into the result. Upper case
letters are used (e.g. F9B4CA)