encryptor

package
v2.4.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDecryptorWithKey

func GetDecryptorWithKey(name string, key []byte, encryptProps map[string]any) (message.Decryptor, error)

func GetDefaultDecryptor

func GetDefaultDecryptor() (message.Decryptor, error)

GetDefaultDecryptor returns the singleton of the decryptor

func GetEncryptWriter

func GetEncryptWriter(name string, output io.Writer, conf *model.KuiperConf) (io.Writer, error)

func GetEncryptor

func GetEncryptor(name string, encryptProps map[string]any, conf *model.KuiperConf) (message.Encryptor, error)

GetEncryptor currently, decryptor and encryptor are the same instance

func InitConf

func InitConf(enc *model.EncryptionConf, k []byte)

InitConf run in server start up

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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