Documentation ¶
Index ¶
- func Bech32AddressFromPrivateKeyEDD(privateKey string) string
- func GetPublicKeyECC(privKey string) string
- func GetPublicKeyEDD(privKey string) string
- func GetPublicKeySECP(privKey string) string
- func GetSignerECC(message *[]byte, signature *string) (string, error)
- func Keccak256Hash(message []byte) []byte
- func NetworkPrivateKeyFromString(privKey string) (*ecdsa.PrivateKey, error)
- func Sha256(s []byte) []byte
- func SignECC(message []byte, privKey string) ([]byte, string)
- func SignEDD(message []byte, privKey string) ([]byte, string)
- func SignSECP(message []byte, privKey string) ([]byte, string)
- func ToBech32Address(publicKey string) string
- func VerifySignatureECC(signer string, message *[]byte, signature string) bool
- func VerifySignatureEDD(signer string, message *[]byte, signature string) (bool, error)
- func VerifySignatureSECP(signer string, message *[]byte, signature string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPublicKeyECC ¶
func GetPublicKeyEDD ¶
func GetPublicKeySECP ¶
func Keccak256Hash ¶
func NetworkPrivateKeyFromString ¶
func NetworkPrivateKeyFromString(privKey string) (*ecdsa.PrivateKey, error)
func ToBech32Address ¶
func VerifySignatureECC ¶
func VerifySignatureEDD ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.