Documentation ¶
Index ¶
- func AlignedBytesToString(data []byte) string
- func BytesToUint32(data []byte) uint32
- func ExtractSigner(signature []byte, data ...[]byte) (signerAddress []byte, err error)
- func SignData(privateKey *ecdsa.PrivateKey, data ...[]byte) ([]byte, error)
- func StringToAlignedBytes(input string, size int) []byte
- func Uint32ToBytes(val uint32) []byte
- type TestNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AlignedBytesToString ¶
func BytesToUint32 ¶
func ExtractSigner ¶
func StringToAlignedBytes ¶
input string can't have any 0x0 characters
func Uint32ToBytes ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.