#elliptic-curve #key #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

16 releases

0.8.0-rc.3 Oct 15, 2024
0.8.0-rc.0 Jul 26, 2024
0.8.0-pre.1 Jan 10, 2024
0.7.3 Jul 16, 2023
0.0.0 Aug 26, 2020

#1863 in Cryptography

Download history 534563/week @ 2024-08-19 564051/week @ 2024-08-26 564933/week @ 2024-09-02 560816/week @ 2024-09-09 540810/week @ 2024-09-16 572760/week @ 2024-09-23 577824/week @ 2024-09-30 615026/week @ 2024-10-07 626421/week @ 2024-10-14 664870/week @ 2024-10-21 612725/week @ 2024-10-28 630012/week @ 2024-11-04 602611/week @ 2024-11-11 631110/week @ 2024-11-18 577215/week @ 2024-11-25 658956/week @ 2024-12-02

2,497,494 downloads per month
Used in 3,277 crates (41 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–530KB
~11K SLoC