Documentation ¶
Index ¶
Constants ¶
View Source
const PrivateKeyBytes = 32
PrivateKeyBytes is the size of a serialized private key.
Variables ¶
This section is empty.
Functions ¶
func GenerateKey ¶
GenerateKey creates a new key using secure randomness from crypto.rand.
func GenerateKeyFromSeed ¶
GenerateKeyFromSeed generates a new key from the given reader.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.