crypt

package
v0.0.0-...-dc1866d Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2017 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Crypter

type Crypter interface {
	EncryptSecret(*dao.SecretRecord, string) (*dao.SecretRecord, error)
	DecryptSecret(*dao.SecretRecord) (*string, error)
}

Crypter defines the interface to encrypt and decrypt secret records

func NewCrypter

func NewCrypter(kmsClient client.Client, keyCache cache.Cache, appName string) Crypter

NewCrypter creates a new Crypter object

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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