encrypter

package
v0.0.0-...-8654c45 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2014 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AESOFBEncrypter

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

func NewAESOFBEncrypter

func NewAESOFBEncrypter() *AESOFBEncrypter

func (*AESOFBEncrypter) EncryptReaderToWriter

func (this *AESOFBEncrypter) EncryptReaderToWriter(clearInput io.Reader, encryptedOutput io.Writer) error

type RsaSha512

type RsaSha512 struct {
	PrivateKey *rsa.PrivateKey
}

func (*RsaSha512) SignStream

func (this *RsaSha512) SignStream(input io.Reader, rand io.Reader) ([]byte, error)

type StreamEncrypter

type StreamEncrypter interface {
	EncrypeReaderToWriter(clearInput io.Reader, encryptedOutput io.Writer)
}

type StreamSigner

type StreamSigner interface {
	SignStream(input io.Reader) ([]byte, error)
}

Jump to

Keyboard shortcuts

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