htpasswd: implement sha256 and sha512 algorithms #2
Merged
amery
merged 1 commits from pr-karasz-shas
into master
1 year 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 k@jpi.io
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
c2737bef29
into master 1 year agoReviewers
c2737bef29
.