Versions in this module Expand all Collapse all v1 v1.0.1 Jul 31, 2020 v1.0.0 Jul 3, 2020 Changes in this version + const EcdsaPrivKeyAminoRoute + const EcdsaPubKeyAminoRoute + const SignatureEd25519Size + type PrivKey interface + Bytes func() []byte + Equals func(PrivKey) bool + PubKey func() PubKey + Sign func(msg []byte) ([]byte, error) + type PrivKeyTrue ecdsa.PrivateKey + func GenPrivKey() PrivKeyTrue + func (priv PrivKeyTrue) Bytes() []byte + func (priv PrivKeyTrue) Equals(other PrivKey) bool + func (priv PrivKeyTrue) PubKey() PubKey + func (priv PrivKeyTrue) Sign(msg []byte) ([]byte, error) + type PubKey interface + Address func() help.Address + Bytes func() []byte + Equals func(PubKey) bool + VerifyBytes func(msg []byte, sig []byte) bool + type PubKeyTrue ecdsa.PublicKey + func (pub PubKeyTrue) Address() help.Address + func (pub PubKeyTrue) Bytes() []byte + func (pub PubKeyTrue) Equals(other PubKey) bool + func (pub PubKeyTrue) String() string + func (pub PubKeyTrue) VerifyBytes(msg []byte, sig []byte) bool + type Symmetric interface + Decrypt func(ciphertext []byte, secret []byte) (plaintext []byte, err error) + Encrypt func(plaintext []byte, secret []byte) (ciphertext []byte) + Keygen func() []byte