utils

package
v0.0.0-...-9d62925 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GunzipWrite

func GunzipWrite(data []byte, w io.Writer) error

GunzipWrite data to a Writer

func GzipWrite

func GzipWrite(data []byte, w io.Writer) error

GzipWrite data to a Writer

func HandleIncomingData

func HandleIncomingData(data []byte, aesKey []byte) []byte

HandleIncomingData unzips and then decrypts data

func PrepData

func PrepData(agentKey string, data []byte, aesKey []byte) []byte

PrepData encrypts and compresses data to be sent for DNS listeners

Types

This section is empty.

Jump to

Keyboard shortcuts

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