haveibeenpwned

package
v0.25.0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2025 License: MPL-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package haveibeenpwned implements a client for the haveibeenpwned.com API v3 to search if passwords have been exposed in data breaches

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Search(ctx context.Context, item paw.Item) (pwned bool, count int, err error)

Search searches if the password has been exposed in data breaches using the Have I Been Pwned APIs

Types

type Pwned

type Pwned struct {
	Item  paw.Item
	Count int
}

Jump to

Keyboard shortcuts

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