Documentation ¶
Overview ¶
Package eddsa implements the ed25519 curve signature.
Index ¶
Constants ¶
View Source
const ( // PrivateKeyFileType is the PEM type for a private key. PrivateKeyFileType = "EDDSA PRIVATE KEY" // PublicKeyFileType is the PEM type for a public key. PublicKeyFileType = "EDDSA PUBLIC KEY" )
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New() modules.CryptoBase
New returns a new instance of the EDDSA CryptoBase implementation.
Types ¶
type Signature ¶
type Signature struct {
// contains filtered or unexported fields
}
Signature is an EDDSA signature.
func RestoreSignature ¶
RestoreSignature restores an existing signature. It should not be used to create new signatures, use Sign instead.
Click to show internal directories.
Click to hide internal directories.