An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 9.2% on proxy.golang.org

proxy.golang.org : github.com/ModChain/secp256k1

Package secp256k1 implements optimized secp256k1 elliptic curve operations in pure Go. This package provides an optimized pure Go implementation of elliptic curve cryptography operations over the secp256k1 curve as well as data structures and functions for working with public and private secp256k1 keys. See https://www.secg.org/sec2-v2.pdf for details on the standard. In addition, sub packages are provided to produce, verify, parse, and serialize ECDSA signatures and EC-Schnorr-DCRv0 (a custom Schnorr-based signature scheme specific to Decred) signatures. See the README.md files in the relevant sub packages for more details about those aspects. An overview of the features provided by this package are as follows: It also provides an implementation of the Go standard library crypto/elliptic Curve interface via the S256 function so that it may be used with other packages in the standard library such as crypto/tls, crypto/x509, and crypto/ecdsa. However, in the case of ECDSA, it is highly recommended to use the ecdsa sub package of this package instead since it is optimized specifically for secp256k1 and is significantly faster as a result. This package also provides data structures and functions necessary to produce and verify deterministic canonical signatures in accordance with RFC6979 and BIP0062, optimized specifically for the secp256k1 curve using the Elliptic Curve Digital Signature Algorithm (ECDSA), as defined in FIPS 186-3. See https://www.secg.org/sec2-v2.pdf for details on the secp256k1 standard. It also provides functions to parse and serialize the ECDSA signatures with the more strict Distinguished Encoding Rules (DER) of ISO/IEC 8825-1 and some additional restrictions specific to secp256k1. In addition, it supports a custom "compact" signature format which allows efficient recovery of the public key from a given valid signature and message hash combination. A comprehensive suite of tests is provided to ensure proper functionality. Finally, a comprehensive suite of tests is provided to provide a high level of quality assurance. This example demonstrates use of GenerateSharedSecret to encrypt a message for a recipient's public key, and subsequently decrypt the message using the recipient's private key.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/%21mod%21chain/secp256k1
License: ISC
Latest release: 5 months ago
First release: about 1 year ago
Namespace: github.com/ModChain
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 22 days ago

v0.2.7
Published: 5 months ago
Registry - Documentation - Download
v0.2.6
Published: 6 months ago
Registry - Documentation - Download
v0.2.5
Published: 7 months ago
Registry - Documentation - Download
v0.2.4
Published: 7 months ago
Registry - Documentation - Download
v0.2.3
Published: 7 months ago
Registry - Documentation - Download
v0.2.2
Published: 7 months ago
Registry - Documentation - Download
v0.2.1
Published: 7 months ago
Registry - Documentation - Download
v0.2.0
Published: 7 months ago
Registry - Documentation - Download
v0.1.2
Published: 11 months ago
Registry - Documentation - Download
v0.1.1
Published: 11 months ago
Registry - Documentation - Download
v0.1.0
Published: about 1 year ago
Registry - Documentation - Download