Skip to content

Commit

Permalink
Update sha.go
Browse files Browse the repository at this point in the history
Co-authored-by: Davis Goodin <[email protected]>
  • Loading branch information
qmuntal and dagood authored Aug 9, 2023
1 parent ac7d91d commit ee14591
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sha.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func SHA512(p []byte) (sum [64]byte) {
return
}

// SupportsHash returns true if h is supported.
// SupportsHash returns true if a hash.Hash implementation is supported for h.
func SupportsHash(h crypto.Hash) bool {
switch h {
case crypto.SHA1, crypto.SHA224, crypto.SHA256, crypto.SHA384, crypto.SHA512:
Expand Down

0 comments on commit ee14591

Please sign in to comment.