cipher

package
v0.0.0-...-babae24 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CipherConn

type CipherConn struct {
	Conn net.Conn
	io.ReadWriteCloser
}

func NewCipherConn

func NewCipherConn(conn net.Conn, cryptMethod string, password string) (*CipherConn, error)

type DESCFBCipher

type DESCFBCipher struct {
	*cipher.StreamReader
	*cipher.StreamWriter
	// contains filtered or unexported fields
}

func NewDESCFBCipher

func NewDESCFBCipher(rwc io.ReadWriteCloser, password string) (*DESCFBCipher, error)

func (*DESCFBCipher) Close

func (des *DESCFBCipher) Close() error

func (*DESCFBCipher) Read

func (des *DESCFBCipher) Read(b []byte) (int, error)

func (*DESCFBCipher) Write

func (des *DESCFBCipher) Write(b []byte) (int, error)

Jump to

Keyboard shortcuts

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