encrypt

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Encrypter

type Encrypter interface {
	Encrypt(ctx context.Context, secret model.Secret, keys []model.PublicKey) (*model.Secret, error)
	Decrypt(ctx context.Context, secret model.Secret, keys []model.PrivateKey) (*model.Secret, error)
}

Encrypter knows how to encrypt and decrypt secrets.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳