modScan

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

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

Go to latest
Published: Jul 30, 2023 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DecodeData

type DecodeData struct {
	Logfile *log.Logger
	// contains filtered or unexported fields
}

modScan flag struct

func Init

func Init(blocksize int64, modsize int64, thread int64, threadCount int64, bytes []byte, time string) (md *DecodeData)

Init returns a new modScan object

func (*DecodeData) GetBytes

func (md *DecodeData) GetBytes() []byte

get the modScan byteblock

func (*DecodeData) GetCollisionCount

func (md *DecodeData) GetCollisionCount() int64

get the modScan collision count

func (*DecodeData) MatchFound

func (md *DecodeData) MatchFound() bool

get the modScan match found

func (*DecodeData) ModulusScanBytes

func (md *DecodeData) ModulusScanBytes(c chan string)

run a parallel modulus scan on a user defined or random byte block array

func (*DecodeData) Println

func (md *DecodeData) Println(v ...interface{})

write to log and standard out

func (*DecodeData) Printlog

func (md *DecodeData) Printlog(v ...interface{})

write to the log

Jump to

Keyboard shortcuts

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