[][src]Struct signatory::ecdsa::curve::secp256k1::Secp256k1

pub struct Secp256k1;

The secp256k1 elliptic curve: y² = x³ + 7 over a ~256-bit prime field

Trait Implementations

impl WeierstrassCurve for Secp256k1
[src]

Elliptic curve kind

Random 256-bit (32-byte) private scalar

Size of a compressed elliptic curve point serialized using Elliptic-Curve-Point-to-Octet-String encoding

Size of a raw uncompressed elliptic curve point sans the 0x04 tag byte added in the UncompressedPointSize value.

Size of a raw uncompressed elliptic curve point (i.e sans the 0x04 tag added by Elliptic-Curve-Point-to-Octet-String encoding)

Maximum size of an ASN.1 DER encoded signature

Concatenated r || s values (32-bytes each)

impl PartialEq<Secp256k1> for Secp256k1
[src]

This method tests for !=.

impl Eq for Secp256k1
[src]

impl Debug for Secp256k1
[src]

impl Hash for Secp256k1
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Copy for Secp256k1
[src]

impl Clone for Secp256k1
[src]

Performs copy-assignment from source. Read more

impl Default for Secp256k1
[src]

Auto Trait Implementations

impl Send for Secp256k1

impl Sync for Secp256k1

Blanket Implementations

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> From for T
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T> Same for T

Should always be Self