security

package
v0.14.1-alpha1 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2026 License: AGPL-3.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 EncryptManager

type EncryptManager interface {
	UpdateKeys(keyringConfig config.DatabaseEncryptionKey)
	Encrypt(plaintext string) ([]byte, error)
	Decrypt(data []byte) (string, error)
}

func NewEncryptManager

func NewEncryptManager() EncryptManager

type Key

type Key struct {
	Password     string
	PasswordSalt string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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