Documentation ¶
Index ¶
- Constants
- Variables
- type HashValue
- func HashData(data ...[]byte) HashValue
- func HashDataBlake2b(data ...[]byte) (ret HashValue)
- func HashSha3(data ...[]byte) (ret HashValue)
- func HashStrings(str ...string) HashValue
- func HashValueFromBytes(b []byte) (HashValue, error)
- func HashValueFromHex(s string) (HashValue, error)
- func PseudoRandomHash(rnd *rand.Rand) HashValue
Constants ¶
View Source
const HashSize = 32
Variables ¶
View Source
var NilHash = HashValue{}
Functions ¶
This section is empty.
Types ¶
type HashValue ¶
func HashDataBlake2b ¶
func HashStrings ¶
func HashValueFromBytes ¶
func HashValueFromHex ¶ added in v0.3.0
func PseudoRandomHash ¶ added in v1.0.3
func (*HashValue) MarshalJSON ¶
func (*HashValue) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.