Skip to content

Instantly share code, notes, and snippets.

@sebkinne
sebkinne / password_checker.go
Created February 22, 2018 08:14
Quickly check a password against the pwnedpasswords.com API
package main
import (
"bufio"
"crypto/sha1"
"encoding/hex"
"fmt"
"io/ioutil"
"net/http"
"os"

Keybase proof

I hereby claim:

  • I am sebkinne on github.
  • I am sebkinne (https://keybase.io/sebkinne) on keybase.
  • I have a public key whose fingerprint is 9B0F B6A0 D2EA 3AA3 FB64 42D7 7F89 9C8A F843 F556

To claim this, I am signing this object: