Skip to main content

Module k256

Module k256 

Source

Modules§

ecdsa
Elliptic Curve Digital Signature Algorithm (ECDSA).
elliptic_curve
RustCrypto: Elliptic Curve Traits
sha2
An implementation of the SHA-2 cryptographic hash algorithms.

Structs§

AffinePoint
secp256k1 curve point expressed in affine coordinates.
ProjectivePoint
A point on the secp256k1 curve in projective coordinates.
Scalar
Scalars are elements in the finite field modulo n.
Secp256k1
secp256k1 (K-256) elliptic curve.

Type Aliases§

CompressedPoint
Compressed SEC1-encoded secp256k1 (K-256) curve point.
EncodedPoint
SEC1-encoded secp256k1 (K-256) curve point.
FieldBytes
secp256k1 (K-256) field element serialized as bytes.
NonZeroScalar
Non-zero secp256k1 (K-256) scalar field element.
PublicKey
secp256k1 (K-256) public key.
SecretKey
secp256k1 (K-256) secret key.
U256
256-bit unsigned big integer.
WideBytes
Bytes used by a wide reduction: twice the width of FieldBytes.