Documentation ¶
Overview ¶
Package ecdsa provides utilities for signing and verifying messages using ECDSA.
Index ¶
Constants ¶
This section is empty.
Variables ¶
ErrHashUnavailable is returned when the hash function is not linked into the binary.
Functions ¶
This section is empty.
Types ¶
type Signer ¶
type Signer struct { Verifier Rand io.Reader // Defaults to crypto/rand.Reader if not set. // contains filtered or unexported fields }
Signer signs messages using ECDSA. It is safe for concurrent use by multiple goroutines.
type Verifier ¶
type Verifier struct {
// contains filtered or unexported fields
}
Verifier verifies ECDSA message signatures. It is safe for concurrent use by multiple goroutines.
func NewVerifier ¶
NewVerifier returns a new Verifier for the provided public key and hash algorithm.
Click to show internal directories.
Click to hide internal directories.