tools

package
v0.0.0-...-c9ab93f Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EVPBytesToKey

func EVPBytesToKey(password string, keyLen int) (key []byte)

func HmacMD5

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

func HmacSHA1

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

func IsLittleEndian

func IsLittleEndian() bool

func MD5Sum

func MD5Sum(d []byte) []byte

func SHA1Sum

func SHA1Sum(d []byte) []byte

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

Directories

Path Synopsis
Provides leaky buffer, based on the example in Effective Go.
Provides leaky buffer, based on the example in Effective Go.

Jump to

Keyboard shortcuts

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