htpasswd: implement sha256 and sha512 algorithms #2
Reference in New Issue
Block a user
Delete Branch "pr-karasz-shas"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Signed-off-by: Nagy Károly Gábriel k@jpi.io
@@ -177,2 +185,4 @@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