shadow

package
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2019 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package shadow transter conn to be a crypto conn support aead mode only payload: [size](2+Overhead bytes) + [content](size+Overhead bytes)

Index

Constants

View Source
const (
	AES_128_GCM cipherType = iota
	AES_192_GCM
	AES_256_GCM
	CHACHA20_IETF_POLY1305
	XCHACHA20_IETF_POLY1305
)
View Source
const MAX_SIZE = 0xFFFF

Variables

This section is empty.

Functions

func Shadow

func Shadow(c net.Conn, cipher, password string) net.Conn

Types

This section is empty.

Jump to

Keyboard shortcuts

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