// ep (easy passphrase) - Stefan Claas, Dec. 2020 package main import ( "golang.org/x/crypto/ripemd160" "fmt" "github.com/howeyc/gopass" "github.com/atotto/clipboard" ) func main(){ fmt.Printf("Phrase that makes no sense: ") pass, _ := gopass.GetPasswdMasked() hasher := ripemd160.New() hasher.Write(pass[:]) hashBytes := hasher.Sum(nil) hashString := fmt.Sprintf("%x", hashBytes) clipboard.WriteAll(hashString) }