encryption

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2018 License: Apache-2.0 Imports: 2 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EncryptionHandler added in v0.0.2

type EncryptionHandler func(kek.KeyEncryptionKeyService) (EncryptionService, error)

type EncryptionMode added in v0.0.2

type EncryptionMode struct {
	Name    string
	Version string
	Handler EncryptionHandler
}

func (EncryptionMode) String added in v0.0.2

func (e EncryptionMode) String() string

type EncryptionService

type EncryptionService interface {
	Decrypt(ciphertext []byte) (plaintext []byte, err error)
	Encrypt(plaintext []byte) (ciphertext []byte, err error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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