#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

10 releases

0.7.3 Jul 16, 2023
0.7.2 Apr 10, 2023
0.7.1 Feb 28, 2023
0.3.0 May 8, 2022
0.0.0 Aug 26, 2020

#2305 in Cryptography

Download history 243039/week @ 2023-08-09 264024/week @ 2023-08-16 289934/week @ 2023-08-23 279678/week @ 2023-08-30 285123/week @ 2023-09-06 285649/week @ 2023-09-13 273175/week @ 2023-09-20 254798/week @ 2023-09-27 264142/week @ 2023-10-04 272567/week @ 2023-10-11 296772/week @ 2023-10-18 316376/week @ 2023-10-25 320092/week @ 2023-11-01 339782/week @ 2023-11-08 390141/week @ 2023-11-15 268108/week @ 2023-11-22

1,375,502 downloads per month
Used in 1,853 crates (20 directly)

Apache-2.0 OR MIT

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

~400–640KB
~13K SLoC