ValidDigestAlgorithms returns a list of supported digest algorithms
()
| 31 | |
| 32 | // ValidDigestAlgorithms returns a list of supported digest algorithms |
| 33 | func ValidDigestAlgorithms() []string { |
| 34 | return validDigestAlgorithms[:] |
| 35 | } |
| 36 | |
| 37 | func CalculateDigestWithAlgorithm(r io.Reader, alg string) (string, error) { |
| 38 | var h hash.Hash |
no outgoing calls