Versions in this module Expand all Collapse all v0 v0.2.5 Mar 25, 2021 Changes in this version + func Generate(sigType crypto.SigType) ([]byte, error) + func RegisterSignature(typ crypto.SigType, vs SigShim) + func Sign(sigType crypto.SigType, privkey []byte, msg []byte) (*crypto.Signature, error) + func ToPublic(sigType crypto.SigType, pk []byte) ([]byte, error) + func Verify(sig *crypto.Signature, addr address.Address, msg []byte) error + type SigShim interface + GenPrivate func() ([]byte, error) + Sign func(pk []byte, msg []byte) ([]byte, error) + ToPublic func(pk []byte) ([]byte, error) + Verify func(sig []byte, a address.Address, msg []byte) error