obfs

package
v0.0.0-...-45a9176 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DummyObfuscator

type DummyObfuscator struct{}

func NewDummyObfuscator

func NewDummyObfuscator() *DummyObfuscator

func (*DummyObfuscator) Deobfuscate

func (x *DummyObfuscator) Deobfuscate(in []byte, out []byte) int

func (*DummyObfuscator) Obfuscate

func (x *DummyObfuscator) Obfuscate(in []byte, out []byte) int

type Obfuscator

type Obfuscator interface {
	Deobfuscate(in []byte, out []byte) int
	Obfuscate(in []byte, out []byte) int
}

type XPlusObfuscator

type XPlusObfuscator struct {
	Key     []byte
	RandSrc *rand.Rand
	// contains filtered or unexported fields
}

func NewXPlusObfuscator

func NewXPlusObfuscator(key []byte) *XPlusObfuscator

func (*XPlusObfuscator) Deobfuscate

func (x *XPlusObfuscator) Deobfuscate(in []byte, out []byte) int

func (*XPlusObfuscator) Obfuscate

func (x *XPlusObfuscator) Obfuscate(in []byte, out []byte) int

Jump to

Keyboard shortcuts

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