[−][src]Struct ecdsa::curve::secp256k1::Secp256k1
secp256k1 elliptic curve.
Specified in Certicom's SECG in SEC 2: Recommended Elliptic Curve Domain Parameters:
https://www.secg.org/sec2-v2.pdf
The curve's equation is y² = x³ + 7
over a ~256-bit prime field.
It's primarily notable for its use in Bitcoin and other cryptocurrencies.
Trait Implementations
impl Clone for Secp256k1
[src]
impl StructuralPartialEq for Secp256k1
[src]
impl Ord for Secp256k1
[src]
fn cmp(&self, other: &Secp256k1) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<Secp256k1> for Secp256k1
[src]
impl Curve for Secp256k1
[src]
type ScalarSize = UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>
256-bit (32-byte) private scalar
impl Default for Secp256k1
[src]
impl PartialOrd<Secp256k1> for Secp256k1
[src]
fn partial_cmp(&self, other: &Secp256k1) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl Eq for Secp256k1
[src]
impl Debug for Secp256k1
[src]
impl StructuralEq for Secp256k1
[src]
Auto Trait Implementations
impl Unpin for Secp256k1
impl Send for Secp256k1
impl Sync for Secp256k1
impl UnwindSafe for Secp256k1
impl RefUnwindSafe for Secp256k1
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,