Documentation
¶
Overview ¶
package crypto provides lowest-level crypto types and primitives used by sigsum
Index ¶
Constants ¶
View Source
const ( HashSize = sha256.Size SignatureSize = ed25519.SignatureSize PublicKeySize = ed25519.PublicKeySize PrivateKeySize = ed25519.SeedSize )
Variables ¶
This section is empty.
Functions ¶
func NewEd25519Signer ¶ added in v0.1.5
func NewEd25519Signer(key *PrivateKey) *ed25519Signer
Types ¶
type Hash ¶
type PrivateKey ¶ added in v0.1.5
type PrivateKey [PrivateKeySize]byte
type PublicKey ¶
type PublicKey [PublicKeySize]byte
type Signature ¶
type Signature [SignatureSize]byte
Click to show internal directories.
Click to hide internal directories.