crypto

package
v1.11.2 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2016 License: MIT Imports: 5 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAesDecryptionStream

func NewAesDecryptionStream(key []byte, iv []byte) cipher.Stream

func NewAesEncryptionStream

func NewAesEncryptionStream(key []byte, iv []byte) cipher.Stream

func NewChaCha20Stream added in v1.9.1

func NewChaCha20Stream(key []byte, iv []byte) cipher.Stream

Types

type CryptionReader added in v1.11.1

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

func NewCryptionReader

func NewCryptionReader(stream cipher.Stream, reader io.Reader) *CryptionReader

func (*CryptionReader) Read added in v1.11.1

func (this *CryptionReader) Read(data []byte) (int, error)

func (*CryptionReader) Release added in v1.11.1

func (this *CryptionReader) Release()

type CryptionWriter added in v1.11.1

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

func NewCryptionWriter

func NewCryptionWriter(stream cipher.Stream, writer io.Writer) *CryptionWriter

func (*CryptionWriter) Release added in v1.11.1

func (this *CryptionWriter) Release()

func (*CryptionWriter) Write added in v1.11.1

func (this *CryptionWriter) Write(data []byte) (int, error)

Directories

Path Synopsis
GENERATED CODE.
GENERATED CODE.

Jump to

Keyboard shortcuts

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