gohermetic

package module
v0.0.0-...-2eebe4b Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2014 License: MIT Imports: 5 Imported by: 0

README

gohermetic

A simple Wrapper for Go crypto/cipher

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hermetic

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

func NewHermetic

func NewHermetic(key []byte) *Hermetic

func (*Hermetic) AddKey

func (h *Hermetic) AddKey(key []byte) bool

func (*Hermetic) Decode

func (h *Hermetic) Decode(ciphertext []byte) (text []byte, err error)

func (*Hermetic) Encode

func (h *Hermetic) Encode(plaintext []byte) []byte

Jump to

Keyboard shortcuts

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