Documentation ¶
Index ¶
Constants ¶
View Source
const HydraStateBytes = 48
Variables ¶
This section is empty.
Functions ¶
func Bytes ¶
Bytes will help us generate a random bytes, or will return an error if there was one. This uses the crypto/rand package so it is safe to use with things like hydra state.
func GenerateHydraState ¶
GenerateHydraState is a helper function designed to generate hydra state of a predetermined byte size.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.