obfs

package
v1.18.1 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: GPL-3.0 Imports: 2 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
}

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