MCPcopy
hub / github.com/kopia/kopia / SupportedAlgorithms

Function SupportedAlgorithms

repo/hashing/hashing.go:39–48  ·  view source on GitHub ↗

SupportedAlgorithms returns the names of the supported hashing schemes.

()

Source from the content-addressed store, hash-verified

37
38// SupportedAlgorithms returns the names of the supported hashing schemes.
39func SupportedAlgorithms() []string {
40 var result []string
41 for k := range hashFunctions {
42 result = append(result, k)
43 }
44
45 sort.Strings(result)
46
47 return result
48}
49
50// DefaultAlgorithm is the name of the default hash algorithm.
51const DefaultAlgorithm = "BLAKE2B-256-128"

Callers 7

runBenchmarkMethod · 0.92
runBenchmarkMethod · 0.92
setupMethod · 0.92
TestFormattersFunction · 0.92
TestRoundTripFunction · 0.92
TestAllFormatsSmokeTestFunction · 0.92

Calls

no outgoing calls

Tested by 3

TestFormattersFunction · 0.74
TestRoundTripFunction · 0.74
TestAllFormatsSmokeTestFunction · 0.74