crypto

package
v0.0.0-...-abba4c7 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DELTA = uint64(0x9E3779B9)
	ROUND = 16
	OP    = uint64(0xFFFFFFFF)
)

Variables

This section is empty.

Functions

func AesGCMDecrypt

func AesGCMDecrypt(data []byte, key []byte) []byte

func AesGCMEncrypt

func AesGCMEncrypt(data []byte, key []byte) []byte

func QQTeaDecrypt

func QQTeaDecrypt(data, key []byte) []byte

func QQTeaEncrypt

func QQTeaEncrypt(data, key []byte) []byte

Types

type Reader

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

func NewReader

func NewReader(buffer []byte) *Reader

func (*Reader) ReadU32

func (r *Reader) ReadU32() (v uint32)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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