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

pub struct Secp256k1;

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

Trait Implementations

impl Copy for Secp256k1
[src]

impl Clone for Secp256k1
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Secp256k1
[src]

Formats the value using the given formatter. Read more

impl Default for Secp256k1
[src]

Returns the "default value" for a type. Read more

impl Eq for Secp256k1
[src]

impl PartialEq for Secp256k1
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Hash for Secp256k1
[src]

Feeds this value into the given [Hasher]. Read more

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

impl WeierstrassCurve for Secp256k1
[src]

CURVE_KIND: WeierstrassCurveKind = WeierstrassCurveKind::Secp256k1

Elliptic curve kind

Random 256-bit (32-byte) private scalar

Size of a compressed elliptic curve point serialized using Octet-String-to-Elliptic-Curve-Point 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 Octet-String-to-Elliptic-Curve-Point encoding)

Maximum size of an ASN.1 DER encoded signature

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

Auto Trait Implementations

impl Send for Secp256k1

impl Sync for Secp256k1