Documentation ¶
Index ¶
- func Blake2b256(v []byte) []byte
- func Decrypt(ciphertext []byte, key []byte) ([]byte, error)
- func Encrypt(plaintext []byte, key []byte) ([]byte, error)
- func Hash20(v []byte) []byte
- func Hash20Hex(v []byte) string
- func IsValidPushAddr(id string) bool
- func MakeNamespaceHash(ns string) string
- func MustDecodePushKeyID(id string) []byte
- func RIPEMD160(v []byte) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsValidPushAddr ¶
IsValidPushAddr checks whether the given id is a valid bech32 encoded address
func MakeNamespaceHash ¶
MakeNamespaceHash creates a hash of a namespace name
func MustDecodePushKeyID ¶
MustDecodePushKeyID decodes a push key ID Panics if decoding fails.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.