encrypt

package
v0.0.0-...-2337eca Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2017 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EncryptionManager

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

func New

func New(ringDir string) (*EncryptionManager, error)

func (*EncryptionManager) Decrypt

func (em *EncryptionManager) Decrypt(r io.Reader) (io.Reader, error)

func (*EncryptionManager) Encrypt

func (em *EncryptionManager) Encrypt(w io.Writer) (io.WriteCloser, error)

func (*EncryptionManager) GenKey

func (em *EncryptionManager) GenKey() error

Jump to

Keyboard shortcuts

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