Documentation ¶
Index ¶
- func DeserializePublicKey(encoded string) (*ecdsa.PublicKey, error)
- func EthRecover(signatureStr string, data []byte) (*ecdsa.PublicKey, string, error)
- func EthSign(pkey *ecdsa.PrivateKey, data []byte) (string, error)
- func EthToCometKey(hexPkey string) (*ed25519.PrivKey, error)
- func EthToEthKey(privKey string) (*ecdsa.PrivateKey, error)
- func SerializePublicKey(pubKey *ecdsa.PublicKey) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EthRecover ¶
func EthToEthKey ¶
func EthToEthKey(privKey string) (*ecdsa.PrivateKey, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.