dump

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: May 28, 2018 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scanner

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

Scanner is a HIBP dump scanner

func New

func New(dumps ...string) (*Scanner, error)

New creates a new scanner

func (*Scanner) LookupBatch

func (s *Scanner) LookupBatch(ctx context.Context, in []string) []string

LookupBatch takes a slice SHA1 hashes and matches them against the provided dumps

Jump to

Keyboard shortcuts

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