#elliptic-curve #sec1 #key #format #secg

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

#886 in Cryptography

Download history 260485/week @ 2024-12-23 325268/week @ 2024-12-30 645805/week @ 2025-01-06 740689/week @ 2025-01-13 651340/week @ 2025-01-20 704119/week @ 2025-01-27 772599/week @ 2025-02-03 787283/week @ 2025-02-10 751775/week @ 2025-02-17 808769/week @ 2025-02-24 813924/week @ 2025-03-03 969463/week @ 2025-03-10 1425135/week @ 2025-03-17 1600963/week @ 2025-03-24 1111416/week @ 2025-03-31 1167660/week @ 2025-04-07

5,353,019 downloads per month
Used in 3,841 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

~325–570KB
~12K SLoC