#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

12 releases

0.8.0-pre.1 Jan 10, 2024
0.7.3 Jul 16, 2023
0.7.1 Feb 28, 2023
0.3.0 May 8, 2022
0.0.0 Aug 26, 2020

#1337 in Cryptography

Download history 308522/week @ 2023-12-16 167097/week @ 2023-12-23 274020/week @ 2023-12-30 371418/week @ 2024-01-06 385356/week @ 2024-01-13 415320/week @ 2024-01-20 438900/week @ 2024-01-27 392663/week @ 2024-02-03 407055/week @ 2024-02-10 401117/week @ 2024-02-17 426422/week @ 2024-02-24 443455/week @ 2024-03-02 453195/week @ 2024-03-09 452373/week @ 2024-03-16 434998/week @ 2024-03-23 387700/week @ 2024-03-30

1,803,074 downloads per month
Used in 2,289 crates (31 directly)

Apache-2.0 OR MIT

410KB
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

~265–490KB
~10K SLoC