identity

package
v0.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL