ssstream

package
v0.0.0-...-cf12e39 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2018 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetStreamCiphers

func GetStreamCiphers(method string) func(string, connect.IConn) (connect.IConn, error)

func MD5

func MD5(data []byte) []byte

Types

type IStreamCipher

type IStreamCipher interface {
	KeyLen() int
	IVLen() int
	NewEncrypter(key []byte, iv []byte) (cipher.Stream, error)
	NewDecrypter(key []byte, iv []byte) (cipher.Stream, error)
}

Jump to

Keyboard shortcuts

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