Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewIdentity ¶
func NewIdentity() (*age.X25519Identity, error)
NewIdentity generates a new Age identity
func ReadIdentityFromFile ¶
func ReadIdentityFromFile(filename string) (*age.X25519Identity, error)
ReadIdentityFromFile reads the identity from the supplied filename
func WriteIdentityToFile ¶
func WriteIdentityToFile(id *age.X25519Identity, filename string) error
WriteIdentityToFile writes the supplied identity to the supplied filename
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.