Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GeneratePrivKey ¶
func GeneratePrivKey() ed25519.PrivateKey
Generates a new private key for onion service
func GenerateRandomString ¶
GenerateRandomString returns a securely generated random string. It will return an error if the system's secure random number generator fails to function correctly, in which case the caller should not continue.
Credits: https://gist.github.com/dopey/c69559607800d2f2f90b1b1ed4e550fb#file-main-go-L46
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.