crypto

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2021 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyOpen

func CopyOpen(dst io.Writer, src io.Reader, key string)

func CopySeal

func CopySeal(dst io.Writer, src io.Reader, key string)

func PackHead

func PackHead(CMD, ATYP byte, DST_ADDR, DST_PORT []byte) []byte

func Read

func Read(r io.Reader, k string) (b []byte, e error)

func UnpackHead

func UnpackHead(data []byte) (CMD, ATYP byte, DST_ADDR, DST_PORT []byte)

0 3 2 1 1 5 5 6 6

func Write

func Write(w io.Writer, b []byte, k string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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