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