Sunbeam Studios

Our open-source projects, here for you!

sec1 (0.7.3)

Published 2026-03-26 11:03:07 +00:00 by siennathesane

Installation

[registry]
default = "gitea"

[registries.gitea]
index = "sparse+" # Sparse index
# index = "" # Git

[net]
git-fetch-with-cli = true
cargo add sec1@0.7.3

About this package

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

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

ID Version
base16ct ^0.2
der ^0.7
generic-array ^0.14.7
pkcs8 ^0.10
serdect ^0.2
subtle ^2
zeroize ^1
hex-literal ^0.4
tempfile ^3

Keywords

crypto key elliptic-curve secg
Details
Cargo
2026-03-26 11:03:07 +00:00
0
RustCrypto Developers
Apache-2.0 OR MIT
22 KiB
Assets (1)
Versions (1) View all
0.7.3 2026-03-26