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 HashValueFromBase58(s string) (HashValue, error)
- func HashValueFromBytes(b []byte) (HashValue, error)
- func RandomHash(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 HashValueFromBase58 ¶
func HashValueFromBytes ¶
func RandomHash ¶
func (*HashValue) MarshalJSON ¶
func (*HashValue) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.