box

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrPrivateMessageDecryptFailed = fmt.Errorf("decode pm: decryption failed")

Functions

This section is empty.

Types

type Boxer

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

func NewBoxer

func NewBoxer(r io.Reader) *Boxer

func (*Boxer) Decrypt

func (bxr *Boxer) Decrypt(recpt ssb.KeyPair, rawMsg []byte) ([]byte, error)

func (*Boxer) Encrypt

func (bxr *Boxer) Encrypt(clearMsg []byte, rcpts ...refs.FeedRef) ([]byte, error)

Jump to

Keyboard shortcuts

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