age_encryption

package
v0.1.21-rc.2 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Age

type Age struct {
	// contains filtered or unexported fields
}

func GenerateNewAgeCredentials

func GenerateNewAgeCredentials() Age

func NewAge

func NewAge(privKey, pubKey string) Age

func (*Age) Decrypt

func (a *Age) Decrypt(p *filepaths.Path) error

func (*Age) DecryptAndUnGzipToInMemFs

func (a *Age) DecryptAndUnGzipToInMemFs(p *filepaths.Path, fs memfs.MemFS, unzipDir string) error

func (*Age) DecryptToMemFsFile

func (a *Age) DecryptToMemFsFile(p *filepaths.Path, fs memfs.MemFS) error

func (*Age) Encrypt

func (a *Age) Encrypt(p *filepaths.Path) error

func (*Age) GzipAndEncrypt

func (a *Age) GzipAndEncrypt(p *filepaths.Path) error

func (*Age) UnGzipAndDecrypt

func (a *Age) UnGzipAndDecrypt(p *filepaths.Path) error

Jump to

Keyboard shortcuts

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