#elliptic-curve #elliptic-curve-cryptography #key #format

no-std sec1

Pure Rust implementation of SEC1: Elliptic Curve Cryptography encoding formats including ASN.1 DER-serialized private keys as well as the Elliptic-Curve-Point-to-Octet-String encoding

17 releases

Uses new Rust 2024

0.8.0-rc.4 Feb 23, 2025
0.8.0-rc.3 Oct 15, 2024
0.8.0-rc.2 Sep 20, 2024
0.8.0-rc.0 Jul 26, 2024
0.0.0 Aug 26, 2020

#805 in Cryptography

Download history 656035/week @ 2024-12-05 635910/week @ 2024-12-12 399667/week @ 2024-12-19 250489/week @ 2024-12-26 535236/week @ 2025-01-02 740168/week @ 2025-01-09 660924/week @ 2025-01-16 690267/week @ 2025-01-23 732941/week @ 2025-01-30 800504/week @ 2025-02-06 736129/week @ 2025-02-13 812677/week @ 2025-02-20 802550/week @ 2025-02-27 849349/week @ 2025-03-06 1147524/week @ 2025-03-13 1568830/week @ 2025-03-20

4,520,705 downloads per month
Used in 3,728 crates (46 directly)

Apache-2.0 OR MIT

415KB
9K SLoC

RustCrypto: SEC1 Elliptic Curve Cryptography Formats

crate Docs Build Status Apache2/MIT licensed Rust Version Project Chat

Documentation

About

Pure Rust implementation of SEC1: Elliptic Curve Cryptography encoding formats including ASN.1 DER-serialized private keys (also described in RFC5915) as well as the Elliptic-Curve-Point-to-Octet-String and Octet-String-to-Elliptic-Curve-Point encoding algorithms.

Minimum Supported Rust Version

This crate requires Rust 1.71 at a minimum.

We may change the MSRV in the future, but it will be accompanied by a minor version bump.

License

Licensed under either of:

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~320–570KB
~12K SLoC