obfs

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Obfuscator added in v0.9.3

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

type XPlusObfuscator added in v0.6.0

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

func NewXPlusObfuscator added in v0.6.0

func NewXPlusObfuscator(key []byte) *XPlusObfuscator

func (*XPlusObfuscator) Deobfuscate added in v0.6.0

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

func (*XPlusObfuscator) Obfuscate added in v0.6.0

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