Registry / crypto / nspcc-dev-rfc6979

nspcc-dev-rfc6979

JSON →
library0.2.4gogounverified

A Go implementation of RFC 6979 for deterministic digital signatures using DSA and ECDSA.

go get github.com/nspcc-dev/rfc6979
INSTALL
IMPORT
SIG · NSPCC-DEV-RFC6979
N
nspcc-dev-rfc6979
cryptogov0.2.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

rfc6979
github.com/nspcc-dev/rfc6979

Sign a message using deterministic ECDSA.

package main import ( "crypto/ecdsa" "crypto/elliptic" "crypto/rand" "fmt" "github.com/nspcc-dev/rfc6979" ) func main() { key, _ := ecdsa.GenerateKey(elliptic.P256(), rand.Reader) hash := []byte("message") r, s, _ := rfc6979.SignECDSA(key, hash, nil) fmt.Printf("r: %x, s: %x\n", r, s) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.4latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
6
Amazon
1
Resources
nspcc-dev-rfc6979 — go get nspcc-dev-rfc6979 · libregistry