Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodePrivateKey ¶
func DecodePrivateKey(data []byte) (ed25519.PrivateKey, error)
DecodePrivateKey decodes a base64-encoded private key.
func DecodePublicKey ¶
DecodePublicKey decodes a base64-encoded private key.
func ReadPrivateKey ¶
func ReadPrivateKey(path string) (ed25519.PrivateKey, error)
ReadPrivateKey reads a base64-encoded private key file.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.