crypt

package
v0.0.0-...-e57d4e3 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetPacketLength

func GetPacketLength(encryptedHeader []byte) int

Types

type Maple

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

func New

func New(key [4]byte, mapleVersion int) *Maple

func (*Maple) Decrypt

func (c *Maple) Decrypt(p []byte, maple, aes bool)

func (*Maple) Encrypt

func (c *Maple) Encrypt(p []byte, maple, aes bool)

func (*Maple) IV

func (c *Maple) IV() []byte

func (*Maple) Shuffle

func (c *Maple) Shuffle()

Jump to

Keyboard shortcuts

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