summary refs log tree commit diff stats
path: root/hibp/hash.go
diff options
context:
space:
mode:
Diffstat (limited to 'hibp/hash.go')
-rw-r--r--hibp/hash.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/hibp/hash.go b/hibp/hash.go
index 25249ed..9b8d35c 100644
--- a/hibp/hash.go
+++ b/hibp/hash.go
@@ -6,8 +6,8 @@ import (
 	"strings"
 )
 
-// GetHsh takes a string as an input & returns SHA-1 Hash
-func GetHsh(pass string) string {
+// GetSHA1Hash takes a string as an input & returns SHA-1 Hash
+func GetSHA1Hash(pass string) string {
 	alg := sha1.New()
 	alg.Write([]byte(pass))