crypto

package
v0.9.0-alpha Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2018 License: MIT Imports: 0 Imported by: 20

Documentation

Index

Constants

View Source
const (
	// NOOP represents no crypto
	NOOP = "NOOP"
	// AES256 represents AES256 encryption
	AES256 = "AES256"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Codec

type Codec interface {
	Encrypt([]byte) ([]byte, error)
	Decrypt([]byte) ([]byte, error)
}

Codec is an interface to be implemented by any type that can encrypt and decrypt values

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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