Versions in this module
v1
Apr 4, 2023
Apr 4, 2023
Nov 24, 2022
Nov 24, 2022
Changes in this version
+
func CreateAddress(b common.Address, nonce uint64) common.Address
—
darwin/amd64, linux/amd64, windows/amd64
+
func CreateAddress2(b common.Address, salt [32]byte, inithash []byte) common.Address
—
darwin/amd64, linux/amd64, windows/amd64
+
func DecompressPubkey(pubkey []byte) (*ecdsa.PublicKey, error)
—
darwin/amd64, linux/amd64, windows/amd64
+
func HexToECDSA(hexkey string) (*ecdsa.PrivateKey, error)
—
darwin/amd64, linux/amd64, windows/amd64
+
func PubkeyToNodeAddress(p ecdsa.PublicKey) common.NodeAddress
—
darwin/amd64, linux/amd64, windows/amd64
+
func SaveECDSA(file string, key *ecdsa.PrivateKey) error
—
darwin/amd64, linux/amd64, windows/amd64
+
func SigToPub(hash, sig []byte) (*ecdsa.PublicKey, error)
—
darwin/amd64, linux/amd64, windows/amd64
+
func Sign(hash []byte, prv *ecdsa.PrivateKey) (sig []byte, err error)
—
darwin/amd64, linux/amd64, windows/amd64
+
func UnmarshalPubkey(pub []byte) (*ecdsa.PublicKey, error)
—
darwin/amd64, linux/amd64, windows/amd64
+
func ValidateSignatureValues(v byte, r, s *big.Int, homestead bool) bool
—
darwin/amd64, linux/amd64, windows/amd64
+
func VerifySignature(pubkey, hash, signature []byte) bool
—
darwin/amd64, linux/amd64, windows/amd64