From 5aeb5c581efde88d3fdcc5c0529a94e0dd92de47 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Thu, 14 Mar 2019 15:35:42 +0100 Subject: [PATCH] Add shebang (#12) --- pwned.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pwned.py b/pwned.py index e9571a3..95374c4 100644 --- a/pwned.py +++ b/pwned.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python3 import hashlib import sys @@ -15,7 +16,7 @@ def lookup_pwned_api(pwd): pwd: password to check Returns: - A (sha1, count) tuple where sha1 is SHA1 hash of pwd and count is number + A (sha1, count) tuple where sha1 is SHA-1 hash of pwd and count is number of times the password was seen in the pwned database. count equal zero indicates that password has not been found.