Block a user
htpasswd: refactor and add Passwd methods
we may want errors that can be tested without parsing the content
htpasswd: refactor and add Passwd methods
wouldn't it be better to return a split? (algo, hash, bool)?
htpasswd: refactor and add Passwd methods
as it's a map, newpp and pp are actually the same map and both contain the new user
htpasswd: implement sha256 and sha512 algorithms
htpasswd: implement sha256 and sha512 algorithms
it looks to me as if code could be greatly reduced by using the interfaces, but +1
htpasswd: implement routines for working with .htpasswd
htpasswd: implement routines for working with .htpasswd
looks good, could we add a Passwds.Check(username, password string) error method?