Skip to content
Snippets Groups Projects
Commit 57030d92 authored by ale's avatar ale
Browse files

Simple tool to test pwhash package

parent a6529311
No related branches found
No related tags found
No related merge requests found
package main
import (
"flag"
"fmt"
"log"
"git.autistici.org/ai3/go-common/pwhash"
)
func main() {
flag.Parse()
if flag.NArg() < 1 {
log.Fatal("not enough arguments")
}
fmt.Printf("%s\n", pwhash.Encrypt(flag.Arg(0)))
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment