covert

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2021 License: LGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Covert

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

func New

func New(npart int) *Covert

func (*Covert) Decrypt

func (c *Covert) Decrypt(ciphertext []byte, passphrase string) ([]byte, error)

func (*Covert) Encrypt

func (c *Covert) Encrypt(partitions []DataKeyPair) ([]byte, error)

type DataKeyPair

type DataKeyPair struct {
	Message    []byte
	Passphrase string
}

Jump to

Keyboard shortcuts

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