Documentation ¶
Overview ¶
Package hasher provides a Hasher interface for hashing data with a given elliptic.Curve.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hasher ¶
type Hasher interface { // Writer Write (via the embedded io.Writer interface) adds more data to the running hash. // It never returns an error. io.Writer // Sum appends the current hash to []byte(nil) and returns the resulting slice. // It does not change the underlying hash state. Sum() []byte // Curve returns the elliptic.Curve associated with the Hasher. Curve() elliptic.Curve }
Click to show internal directories.
Click to hide internal directories.