summaryrefslogtreecommitdiff
path: root/srv/src/cmd/hash-password/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'srv/src/cmd/hash-password/main.go')
-rw-r--r--srv/src/cmd/hash-password/main.go23
1 files changed, 0 insertions, 23 deletions
diff --git a/srv/src/cmd/hash-password/main.go b/srv/src/cmd/hash-password/main.go
deleted file mode 100644
index 47ae1e7..0000000
--- a/srv/src/cmd/hash-password/main.go
+++ /dev/null
@@ -1,23 +0,0 @@
-package main
-
-import (
- "bufio"
- "fmt"
- "os"
- "strings"
-
- "github.com/mediocregopher/blog.mediocregopher.com/srv/http"
-)
-
-func main() {
-
- fmt.Fprint(os.Stderr, "Password: ")
-
- line, err := bufio.NewReader(os.Stdin).ReadString('\n')
-
- if err != nil {
- panic(err)
- }
-
- fmt.Println(http.NewPasswordHash(strings.TrimSpace(line)))
-}