hibp

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2020 License: ISC Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChkPwn

func ChkPwn(list map[string]string, hsh string) (bool, string)

ChkPwn takes list, hash as input & returns if the hash is in list, the frequency

func GetHsh

func GetHsh(pass string) string

GetHsh takes a string as an input & returns SHA-1 Hash

func GetPwned

func GetPwned(hsh string) (map[string]string, error)

GetPwned takes SHA-1 Hash as input & returns Pwned Passwords list returned by the Have I Been Pwned API

Types

This section is empty.

Jump to

Keyboard shortcuts

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