security

package
v0.0.0-...-8af88a2 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SecretManager

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

func NewSecretManager

func NewSecretManager(encryptionKey string) (*SecretManager, error)

func (*SecretManager) Decrypt

func (sm *SecretManager) Decrypt(ciphertext string) (string, error)

func (*SecretManager) Encrypt

func (sm *SecretManager) Encrypt(plaintext string) (string, error)

Jump to

Keyboard shortcuts

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