Documentation
¶
Index ¶
- func GetDecryptor(key []byte, props map[string]any) (message.Decryptor, error)
- func GetEncryptWriter(output io.Writer, key []byte, props map[string]any) (io.Writer, error)
- func GetEncryptor(key []byte, props map[string]any) (message.Encryptor, error)
- func NewStreamWriter(key []byte, output io.Writer, cc *c) (*cipher.StreamWriter, error)
- type GcmEncrypter
- type StreamEncrypter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEncryptWriter ¶
func NewStreamWriter ¶
Types ¶
type GcmEncrypter ¶
type GcmEncrypter struct {
// contains filtered or unexported fields
}
func NewGcmEncrypter ¶
func NewGcmEncrypter(key []byte, cc *c) (*GcmEncrypter, error)
type StreamEncrypter ¶
type StreamEncrypter struct {
// contains filtered or unexported fields
}
func NewStreamEncrypter ¶
func NewStreamEncrypter(key []byte, cc *c) (*StreamEncrypter, error)
Click to show internal directories.
Click to hide internal directories.