Versions in this module Expand all Collapse all v1 v1.0.1 Sep 1, 2023 Changes in this version + func IsSNormalized(sigS *big.Int) bool + func NormalizeS(sigS *big.Int) *big.Int + type PrivKey struct + func GenPrivKey(curve elliptic.Curve) (PrivKey, error) + func (sk *PrivKey) Bytes() []byte + func (sk *PrivKey) MarshalTo(dAtA []byte) (int, error) + func (sk *PrivKey) PubKey() PubKey + func (sk *PrivKey) Sign(msg []byte) ([]byte, error) + func (sk *PrivKey) String(name string) string + func (sk *PrivKey) Unmarshal(bz []byte, curve elliptic.Curve, expectedSize int) error + type PubKey struct + func (pk *PubKey) Address(protoName string) tmcrypto.Address + func (pk *PubKey) Bytes() []byte + func (pk *PubKey) MarshalTo(dAtA []byte) (int, error) + func (pk *PubKey) String(curveName string) string + func (pk *PubKey) Unmarshal(bz []byte, curve elliptic.Curve, expectedSize int) error + func (pk *PubKey) VerifySignature(msg []byte, sig []byte) bool