decrypter

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidMessage = errors.New("invalid message format")

ErrInvalidMessage is returned when the message format is invalid.

Functions

Types

type Decrypter

type Decrypter struct {
	// contains filtered or unexported fields
}

func (*Decrypter) Decrypt

func (d *Decrypter) Decrypt(ctx context.Context, ciphertext []byte) ([]byte, format.MessageHeader, error)

Jump to

Keyboard shortcuts

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