package
1.9.2-evmc.6.3.0-0
Repository: https://github.com/ewasm/go-ethereum.git
Documentation: pkg.go.dev

# Packages

Package bn256 implements the Optimal Ate pairing over a 256-bit Barreto-Naehrig curve.
No description provided by the author
No description provided by the author

# Functions

CompressPubkey encodes a public key to the 33-byte compressed format.
CreateAddress creates an ethereum address given the bytes and the nonce.
CreateAddress2 creates an ethereum address given the address bytes, initial contract code hash and a salt.
DecompressPubkey parses a public key in the 33-byte compressed format.
Ecrecover returns the uncompressed public key that created the given signature.
FromECDSA exports a private key into a binary dump.
No description provided by the author
No description provided by the author
HexToECDSA parses a secp256k1 private key.
Keccak256 calculates and returns the Keccak256 hash of the input data.
Keccak256Hash calculates and returns the Keccak256 hash of the input data, converting it to an internal Hash data structure.
Keccak512 calculates and returns the Keccak512 hash of the input data.
LoadECDSA loads a secp256k1 private key from the given file.
No description provided by the author
S256 returns an instance of the secp256k1 curve.
SaveECDSA saves a secp256k1 private key to the given file with restrictive permissions.
Sign calculates an ECDSA signature.
SigToPub returns the public key that created the given signature.
ToECDSA creates a private key with the given D value.
ToECDSAUnsafe blindly converts a binary blob to a private key.
UnmarshalPubkey converts bytes to a secp256k1 public key.
ValidateSignatureValues verifies whether the signature values are valid with the given chain rules.
VerifySignature checks that the given public key created signature over hash.