packetarmor

package
v0.0.0-...-75fa4b0 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PacketArmor

type PacketArmor struct {
	// contains filtered or unexported fields
}

func NewPacketArmor

func NewPacketArmor(password, salt string, isClient bool) *PacketArmor

func (*PacketArmor) Pack

func (a *PacketArmor) Pack(input []byte, length int) ([]byte, error)

func (*PacketArmor) Unpack

func (a *PacketArmor) Unpack(encryptedInput []byte) ([]byte, error)

Jump to

Keyboard shortcuts

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