Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AreBytesEqual ¶
AreBytesEqual is a pathetic attempt to prevent timing attacks against byte array comparisons. we try to scale random delays by length of arrays
func CSRandomUint32 ¶
func CSRandomUint32() uint32
CSRandomUint32 is a convenience function for getting uint32s out of crypto/rand
func CheckForExitOrQuit ¶
func PanicedRandomRead ¶
func PanicedRandomRead(ba *[]byte)
func PanicedRandomRead32 ¶
func PanicedRandomRead32(ba *[32]byte)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.