obfuscated2

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2021 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeClientProtocol

func MakeClientProtocol() protocol.ClientProtocol

Types

type ClientProtocol

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

func (*ClientProtocol) ConnectionProtocol

func (c *ClientProtocol) ConnectionProtocol() conntypes.ConnectionProtocol

func (*ClientProtocol) ConnectionType

func (c *ClientProtocol) ConnectionType() conntypes.ConnectionType

func (*ClientProtocol) DC

func (c *ClientProtocol) DC() conntypes.DC

func (*ClientProtocol) Handshake

func (*ClientProtocol) ReadFrame

func (c *ClientProtocol) ReadFrame(socket conntypes.StreamReader) (fm Frame, err error)

type Frame

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

[frameOffsetFirst:frameOffsetKey:frameOffsetIV:frameOffsetMagic:frameOffsetDC:frameOffsetEnd].

func (*Frame) Bytes

func (f *Frame) Bytes() []byte

func (*Frame) DC

func (f *Frame) DC() []byte

func (*Frame) IV

func (f *Frame) IV() []byte

func (*Frame) Invert

func (f *Frame) Invert() (nf Frame)

func (*Frame) Key

func (f *Frame) Key() []byte

func (*Frame) Magic

func (f *Frame) Magic() []byte

func (*Frame) Unique

func (f *Frame) Unique() []byte

Jump to

Keyboard shortcuts

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