pub enum AnyESKeccakK {
ESKeccakK,
ESKeccakKR,
}Expand description
ECDSA using secp256k1 (K-256) and SHA-256, with or without recovery bit.
Variants§
ESKeccakK
ECDSA using secp256k1 (K-256) and Keccak-256.
Like ES256K but using Keccak-256 instead of SHA-256.
ESKeccakKR
ECDSA using secp256k1 (K-256) and Keccak-256 with a recovery bit.
Like ES256K-R but using Keccak-256 instead of SHA-256.
Trait Implementations§
Source§impl Clone for AnyESKeccakK
impl Clone for AnyESKeccakK
Source§fn clone(&self) -> AnyESKeccakK
fn clone(&self) -> AnyESKeccakK
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 Debug for AnyESKeccakK
impl Debug for AnyESKeccakK
Source§impl From<AnyESKeccakK> for Algorithm
impl From<AnyESKeccakK> for Algorithm
Source§fn from(value: AnyESKeccakK) -> Self
fn from(value: AnyESKeccakK) -> Self
Converts to this type from the input type.
Source§impl From<AnyESKeccakK> for AlgorithmInstance
impl From<AnyESKeccakK> for AlgorithmInstance
Source§fn from(value: AnyESKeccakK) -> Self
fn from(value: AnyESKeccakK) -> Self
Converts to this type from the input type.
Source§impl From<ESKeccakK> for AnyESKeccakK
impl From<ESKeccakK> for AnyESKeccakK
Source§impl From<ESKeccakKR> for AnyESKeccakK
impl From<ESKeccakKR> for AnyESKeccakK
Source§fn from(_value: ESKeccakKR) -> Self
fn from(_value: ESKeccakKR) -> Self
Converts to this type from the input type.
Source§impl Hash for AnyESKeccakK
impl Hash for AnyESKeccakK
Source§impl Ord for AnyESKeccakK
impl Ord for AnyESKeccakK
Source§fn cmp(&self, other: &AnyESKeccakK) -> Ordering
fn cmp(&self, other: &AnyESKeccakK) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AnyESKeccakK
impl PartialEq for AnyESKeccakK
Source§impl PartialOrd for AnyESKeccakK
impl PartialOrd for AnyESKeccakK
Source§impl SignatureAlgorithmInstance for AnyESKeccakK
impl SignatureAlgorithmInstance for AnyESKeccakK
type Algorithm = AnyESKeccakK
fn algorithm(&self) -> AnyESKeccakK
Source§impl SignatureAlgorithmType for AnyESKeccakK
impl SignatureAlgorithmType for AnyESKeccakK
type Instance = AnyESKeccakK
Source§impl TryFrom<Algorithm> for AnyESKeccakK
impl TryFrom<Algorithm> for AnyESKeccakK
impl Copy for AnyESKeccakK
impl Eq for AnyESKeccakK
impl StructuralPartialEq for AnyESKeccakK
Auto Trait Implementations§
impl Freeze for AnyESKeccakK
impl RefUnwindSafe for AnyESKeccakK
impl Send for AnyESKeccakK
impl Sync for AnyESKeccakK
impl Unpin for AnyESKeccakK
impl UnwindSafe for AnyESKeccakK
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more