secrets

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgeCrypt

type AgeCrypt struct {
	*age.X25519Identity
}

func NewAgeCrypt

func NewAgeCrypt() (*AgeCrypt, error)

func NewAgeCryptFromString

func NewAgeCryptFromString(s string) (*AgeCrypt, error)

func (*AgeCrypt) Decrypt

func (c *AgeCrypt) Decrypt(data string) (string, error)

func (*AgeCrypt) DecryptValue

func (c *AgeCrypt) DecryptValue(v string) (string, error)

func (*AgeCrypt) Encrypt

func (c *AgeCrypt) Encrypt(data string) (string, error)

func (*AgeCrypt) EncryptValue

func (c *AgeCrypt) EncryptValue(v string) (string, error)

Jump to

Keyboard shortcuts

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