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

8 releases

0.7.1 Feb 28, 2023
0.7.0 Feb 27, 2023
0.3.0 May 8, 2022
0.3.0-pre.1 Mar 14, 2022
0.0.0 Aug 26, 2020

#1104 in Cryptography

Download history 95012/week @ 2022-12-02 102873/week @ 2022-12-09 98689/week @ 2022-12-16 49174/week @ 2022-12-23 71581/week @ 2022-12-30 107557/week @ 2023-01-06 112809/week @ 2023-01-13 116061/week @ 2023-01-20 123219/week @ 2023-01-27 116600/week @ 2023-02-03 126359/week @ 2023-02-10 127726/week @ 2023-02-17 136589/week @ 2023-02-24 132718/week @ 2023-03-03 154125/week @ 2023-03-10 142898/week @ 2023-03-17

589,563 downloads per month
Used in 944 crates (14 directly)

Apache-2.0 OR MIT

395KB
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.65 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

~235–350KB