secure

package
v0.11.3 Latest Latest
Warning

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

Go to latest
Published: May 31, 2025 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProvideSecretKey

type ProvideSecretKey func(pubKey string) ([]byte, error)

type SymmAlgo

type SymmAlgo interface {
	Encrypt(data []byte, pubKey string) ([]byte, error)
	Decrypt(data []byte, pubKey string) ([]byte, error)
	SecretKey() ProvideSecretKey
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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