Documentation ¶
Index ¶
Constants ¶
View Source
const (
SHA256ByteLength = 32
)
Variables ¶
View Source
var (
ErrInvalidSHA256ByteLength = errors.New("Invalid sha256 byte length!")
)
Functions ¶
func SHA256HexStringToBytes ¶
func SHA256HexStringToBytes(hexString string) (*[SHA256ByteLength]byte, error)
Types ¶
type SHA256HexString ¶
type SHA256HexString = string
func RandomSHA256HexString ¶
func RandomSHA256HexString() (*SHA256HexString, error)
func ZeroSHA256HexString ¶
func ZeroSHA256HexString() SHA256HexString
Click to show internal directories.
Click to hide internal directories.