Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EthSigVerify ¶
func GetPrivateKey ¶
func GetPrivateKey(file string) (*ecdsa.PrivateKey, error)
func HashMessage ¶
func MakeRand ¶
MakeRand returns a random slice of bytes. It returns an error if there was a problem while generating the random slice. It is different from the 'standard' random byte generation as it hashes its output before returning it; by hashing the system's PRNG output before it is send over the wire, we aim to make the random output less predictable (even if the system's PRNG isn't as unpredictable as desired). See https://trac.torproject.org/projects/tor/ticket/17694
Types ¶
Click to show internal directories.
Click to hide internal directories.