#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

7 releases

Uses new Rust 2021

0.3.0 May 8, 2022
0.3.0-pre.4 May 7, 2022
0.3.0-pre.1 Mar 14, 2022
0.2.1 Nov 18, 2021
0.0.0 Aug 26, 2020

#694 in Cryptography

Download history 50895/week @ 2022-06-15 52871/week @ 2022-06-22 89165/week @ 2022-06-29 95296/week @ 2022-07-06 100654/week @ 2022-07-13 72461/week @ 2022-07-20 75058/week @ 2022-07-27 72295/week @ 2022-08-03 70867/week @ 2022-08-10 69171/week @ 2022-08-17 73687/week @ 2022-08-24 76821/week @ 2022-08-31 77031/week @ 2022-09-07 89726/week @ 2022-09-14 88004/week @ 2022-09-21 83935/week @ 2022-09-28

353,536 downloads per month
Used in 358 crates (9 directly)

Apache-2.0 OR MIT

345KB
8K 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.57 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

~240–350KB