Documentation ¶
Index ¶
- func GenerateNewKeyPair() (string, string)
- type Age
- func (a *Age) Decrypt(p *filepaths.Path) error
- func (a *Age) DecryptAndUnGzipToInMemFs(p *filepaths.Path, fs memfs.MemFS, unzipDir string) error
- func (a *Age) DecryptToMemFsFile(p *filepaths.Path, fs memfs.MemFS) error
- func (a *Age) Encrypt(p *filepaths.Path) error
- func (a *Age) EncryptFromInMemFS(inMemFs memfs.MemFS, p *filepaths.Path) error
- func (a *Age) GzipAndEncrypt(p *filepaths.Path) error
- func (a *Age) UnGzipAndDecrypt(p *filepaths.Path) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateNewKeyPair ¶
GenerateNewKeyPair returns publicKey, privateKey (order of returns)
Types ¶
type Age ¶
type Age struct {
// contains filtered or unexported fields
}
func GenerateNewAgeCredentials ¶
func GenerateNewAgeCredentials() Age
func (*Age) DecryptAndUnGzipToInMemFs ¶
func (*Age) DecryptToMemFsFile ¶
func (*Age) EncryptFromInMemFS ¶
Click to show internal directories.
Click to hide internal directories.