crypto

package
v0.0.0-...-6daa40f Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalcAdler32

func CalcAdler32(input []byte) uint32

func CalcCRC32

func CalcCRC32(input []byte, length int, value uint32) uint32

func CheckAdler32

func CheckAdler32(input []byte, l int) bool

func CheckCRC32

func CheckCRC32(buffer []byte, length int) bool

func DoCalcCRC32

func DoCalcCRC32(input []byte, index int, length int, value uint32) uint32

func DoSetCRC32

func DoSetCRC32(buffer []byte, index int, length int)

func SetCRC32

func SetCRC32(buffer []byte, length int)

Types

type Shift128plusContext

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

func (*Shift128plusContext) InitFromBin

func (ctx *Shift128plusContext) InitFromBin(bin []byte)

func (*Shift128plusContext) InitFromBinDatalen

func (ctx *Shift128plusContext) InitFromBinDatalen(bin []byte, datalen int)

func (*Shift128plusContext) Next

func (ctx *Shift128plusContext) Next() uint64

Jump to

Keyboard shortcuts

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