cypher

package
v0.0.0-...-bb4f1c7 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCBox

func NewCBox(s int, c Cypher) *cypherbox

NewCBox returns a CypherBox designed to decrypt various flavors of client packets. Has Pluggable modules.

func NewNull

func NewNull() *cypherNull

NewNull returns a non decryption handler, basically intended to handle the compressed but unencrypted packets.

Types

type CodePoint

type CodePoint interface {
	rune | byte | int
}

type Cypher

type Cypher interface {
	Walk(*cypherbox)
	WalkInvert(*cypherbox)
	Flip(*cypherbox, int)
	Seed(*cypherbox)
}

Jump to

Keyboard shortcuts

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