warden

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Checksum

func Checksum(data []byte) uint32

Types

type Session

type Session struct {
	sync.Mutex
	Server              bool
	Key                 []byte
	InputKey, OutputKey []byte
	Input, Output       *arc4.ARC4
}

func NewSession

func NewSession(sessionKey []byte, server bool) *Session

func (*Session) Decrypt

func (s *Session) Decrypt(data []byte)

func (*Session) Encrypt

func (s *Session) Encrypt(data []byte)

Jump to

Keyboard shortcuts

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