crypto

package
v0.0.0-...-82b4563 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2026 License: LGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthDigest

func AuthDigest(elems ...[]byte) string

AuthDigest stolen from https://gist.github.com/toqueteos/5372776

func FromOfflinePlayer

func FromOfflinePlayer(displayName string) uuid.UUID

func UUIDv3

func UUIDv3(space []byte, data []byte) uuid.UUID

UUIDv3 Variation of google.uuid.NewHash We need this because we want a 14-byte namespace and Google forces 16

Types

type CFB8

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

func NewCFB8Decrypt

func NewCFB8Decrypt(c cipher.Block, iv []byte) *CFB8

func NewCFB8Encrypt

func NewCFB8Encrypt(c cipher.Block, iv []byte) *CFB8

func (*CFB8) XORKeyStream

func (cf *CFB8) XORKeyStream(dst, src []byte)

Jump to

Keyboard shortcuts

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