Crate tiny_curve

Source
Expand description

§Small elliptic curves for testing

crate Docs License Build Status Coverage

Warning: these are not in any way secure. Only use them in tests when you need a curve with a small order.

§Features

serde: serde support for elliptic_curve::PublicKey parametrized by the curves from this crate.

ecdsa: ecdsa support for ecdsa::SigningKey and ecdsa::VerifyingKey parametrized by the curves from this crate.

pkcs8: elliptic_curve::pkcs8 support for elliptic_curve::SecretKey and elliptic_curve::PublicKey parametrized by the curves from this crate.

bip32: bip32 support via newtypes PrivateKeyBip32 and PublicKeyBip32.

Structs§

PrivateKeyBip32bip32
A newtype wrapper for elliptic_curve::SecretKey implementing bip32 traits.
PublicKeyBip32bip32
A newtype wrapper for elliptic_curve::PublicKey implementing bip32 traits.
TinyCurve16
An elliptic curve with a 16-bit order.
TinyCurve32
An elliptic curve with a 32-bit order.
TinyCurve64
An elliptic curve with a 64-bit order.