htpasswd: implement sha256 and sha512 algorithms #2
Merged
amery
merged 1 commits from pr-karasz-shas into master 2 years ago
Loading…
Reference in new issue
There is no content yet.
Delete Branch 'pr-karasz-shas'
Deleting a branch is permanent. It CANNOT be undone. Continue?
Signed-off-by: Nagy Károly Gábriel [email protected]
case HashSHA512:return verifySHA512(pass, hash)}return fmt.Errorf("unsupported hash algorithm %v", alg)default:?it looks to me as if code could be greatly reduced by using the interfaces, but +1
c2737bef29into master 2 years agoReviewers
c2737bef29.