// ep (easy passphrase) - Stefan Claas, Dec. 2020 package main import ( "crypto/sha256" "fmt" "ekyu.moe/base91" "github.com/howeyc/gopass" "github.com/atotto/clipboard" ) func main(){ fmt.Printf("Phrase that makes no sense: ") pass, _ := gopass.GetPasswdMasked() hash := sha256.Sum256([]byte(pass)) //fmt.Println(base91.EncodeToString([]byte(hash[:]))) clipboard.WriteAll(base91.EncodeToString([]byte(hash[:]))) }