Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EDVerifier ¶
type EDVerifier struct{}
EDVerifier is a verifier for ED purposes.
type EdSigner ¶
type EdSigner struct {
// contains filtered or unexported fields
}
EdSigner represents an ED25519 signer
func NewEdSignerFromBuffer ¶
NewEdSignerFromBuffer builds a signer from a private key as byte buffer
func (*EdSigner) LittleEndian ¶
LittleEndian indicates whether byte order in a signature is little-endian.
type PublicKey ¶
type PublicKey struct {
// contains filtered or unexported fields
}
PublicKey is the type describing a public key
func NewPublicKey ¶
NewPublicKey constructs a new public key instance from a byte array
func (*PublicKey) Field ¶ added in v0.1.15
Field returns a log field. Implements the LoggableField interface.
func (*PublicKey) ShortString ¶
ShortString returns a representative sub string
type VRFSigner ¶ added in v0.1.34
type VRFSigner struct {
// contains filtered or unexported fields
}
VRFSigner is a signer for VRF purposes
func NewVRFSigner ¶ added in v0.1.34
NewVRFSigner creates a new VRFSigner from a 32-byte seed
func (VRFSigner) LittleEndian ¶ added in v1.0.0
LittleEndian indicates whether byte order in a signature is little-endian.
type VRFVerifier ¶ added in v1.0.0
type VRFVerifier struct{}
VRFVerifier is a verifier for VRF purposes.