Versions in this module Expand all Collapse all v0 v0.1.0 Apr 10, 2024 Changes in this version + const Algorithm + func NewPublicKeyFactory() crypto.PublicKeyFactory + func NewSignatureFactory() crypto.SignatureFactory + func NewSigner() crypto.Signer + func RegisterPublicKeyFormat(format serde.Format, engine serde.FormatEngine) + func RegisterSignatureFormat(format serde.Format, engine serde.FormatEngine) + type PublicKey struct + func NewPublicKey(data []byte) (PublicKey, error) + func NewPublicKeyFromPoint(point kyber.Point) PublicKey + func (pk PublicKey) Equal(other interface{}) bool + func (pk PublicKey) GetPoint() kyber.Point + func (pk PublicKey) MarshalBinary() ([]byte, error) + func (pk PublicKey) MarshalText() ([]byte, error) + func (pk PublicKey) Serialize(ctx serde.Context) ([]byte, error) + func (pk PublicKey) String() string + func (pk PublicKey) Verify(msg []byte, sig crypto.Signature) error + type Signature struct + func NewSignature(data []byte) Signature + func (sig Signature) Equal(other crypto.Signature) bool + func (sig Signature) MarshalBinary() ([]byte, error) + func (sig Signature) Serialize(ctx serde.Context) ([]byte, error) + type Signer struct + func (s Signer) GetPrivateKey() kyber.Scalar + func (s Signer) GetPublicKey() crypto.PublicKey + func (s Signer) GetPublicKeyFactory() crypto.PublicKeyFactory + func (s Signer) GetSignatureFactory() crypto.SignatureFactory + func (s Signer) Sign(msg []byte) (crypto.Signature, error) v0.0.1-alpha Mar 30, 2024