Versions in this module Expand all Collapse all v1 v1.0.2 Jun 12, 2019 Changes in this version + const HASH_LENGTH + func FastHash(data interface{}) string + func GenerateKeys() (publicKey string, privateKey string, err error) + func GenerateKeysBytes() ([]byte, []byte, error) + func Hash(data interface{}) string + func RawFastHash(data interface{}) []byte + func RawHash(data interface{}) []byte + func ReadKeys(reader io.Reader) (publicKey string, privateKey string, publicIp string, port string) + func Sign(privateKey interface{}, hash interface{}) (string, error) + func Verify(publicKey interface{}, signature string, hash string) (bool, error) + type HashBytes [HASH_LENGTH]byte + type SignerVerifier interface + Sign func(hash string) (string, error) + Verify func(signature string, hash string) (bool, error)