#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

#1305 in Cryptography

Download history 588061/week @ 2024-09-20 563340/week @ 2024-09-27 618911/week @ 2024-10-04 605985/week @ 2024-10-11 669147/week @ 2024-10-18 635594/week @ 2024-10-25 609843/week @ 2024-11-01 607760/week @ 2024-11-08 630390/week @ 2024-11-15 595644/week @ 2024-11-22 636521/week @ 2024-11-29 658255/week @ 2024-12-06 627802/week @ 2024-12-13 322596/week @ 2024-12-20 287344/week @ 2024-12-27 591707/week @ 2025-01-03

1,957,576 downloads per month
Used in 3,376 crates (44 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–540KB
~11K SLoC