Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsPubKeyPointValid ¶
IsPubKeyPointValid validates the public key is a valid point on G2
func IsSecretKeyValid ¶
IsSecretKeyValid validates that the scalar is a valid secret key
func IsSigValidPoint ¶
IsSigValidPoint validates that the signature isi a valid point on G1
Types ¶
type BlsSingleSigner ¶
type BlsSingleSigner struct { }
BlsSingleSigner is a SingleSigner implementation that uses a BLS signature scheme
func NewBlsSigner ¶
func NewBlsSigner() *BlsSingleSigner
NewBlsSigner creates a BLS single signer instance
func (*BlsSingleSigner) IsInterfaceNil ¶
func (s *BlsSingleSigner) IsInterfaceNil() bool
IsInterfaceNil returns true if there is no value under the interface
func (*BlsSingleSigner) Sign ¶
func (s *BlsSingleSigner) Sign(private crypto.PrivateKey, msg []byte) ([]byte, error)
Sign Signs a message using a single signature BLS scheme
Click to show internal directories.
Click to hide internal directories.