package passwd type Algo string type Hasher interface { Hash(plaintext string) (string, error) Match(plaintext string, hash string) (bool, error) }