Documentation ¶
Overview ¶
Package signing implements unit signing using the NaCl library.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodePrivateKey ¶
func DecodePrivateKey(enc string) (gomel.PrivateKey, error)
DecodePrivateKey decodes a private key encoded as a base64 string.
func DecodePublicKey ¶
DecodePublicKey decodes a public key encoded as a base64 string.
func GenerateKeys ¶
func GenerateKeys() (gomel.PublicKey, gomel.PrivateKey, error)
GenerateKeys produces a public and private key pair for signing units.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.