Documentation ¶
Index ¶
- func AggregatePartialSignatures(context *gost3410.Context, rawPartialSignatures [][]byte, sumNonces *PublicKey) (signature []byte, err error)
- func SignPartial(context *gost3410.Context, rawPrivateKey []byte, nonce []byte, ...) (signature []byte, err error)
- func Verify(context *gost3410.Context, signature []byte, publicKey *PublicKey, msg []byte) (correct bool, err error)
- func VerifyPartial(context *gost3410.Context, signature []byte, publicKey *PublicKey, ...) (correct bool, err error)
- type PrivateKey
- type PublicKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SignPartial ¶
Types ¶
type PrivateKey ¶
func NewPrivateKey ¶
func NewPrivateKey(context *gost3410.Context, raw []byte) (privateKey *PrivateKey, err error)
func (*PrivateKey) PublicKey ¶
func (prv *PrivateKey) PublicKey(context *gost3410.Context) (*PublicKey, error)
Click to show internal directories.
Click to hide internal directories.