Documentation
¶
Index ¶
- func GetDecryptorWithKey(name string, key []byte, encryptProps map[string]any) (message.Decryptor, error)
- func GetDefaultDecryptor() (message.Decryptor, error)
- func GetEncryptWriter(name string, output io.Writer, conf *model.KuiperConf) (io.Writer, error)
- func GetEncryptor(name string, encryptProps map[string]any, conf *model.KuiperConf) (message.Encryptor, error)
- func InitConf(enc *model.EncryptionConf, k []byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDecryptorWithKey ¶
func GetDefaultDecryptor ¶
GetDefaultDecryptor returns the singleton of the decryptor
func GetEncryptWriter ¶
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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.