Versions in this module Expand all Collapse all v0 v0.1.0 Jan 26, 2020 Changes in this version + func FactHash(facts Facts) []byte + func HexString2Bytes(str string) []byte + func NewPrivateKey(privateKeyBytes []byte) (*ecdsa.PrivateKey, error) + func NewPrivateKeyByHex(privateKeyHex string) (*ecdsa.PrivateKey, error) + type Facts struct + type Signature struct + R [32]byte + S [32]byte + V uint8 + func Sign(message []byte, privkey *ecdsa.PrivateKey) Signature