(keys []string)
| 125 | } |
| 126 | |
| 127 | func hashJoined(keys []string) string { |
| 128 | if len(keys) == 0 { |
| 129 | return "" |
| 130 | } |
| 131 | sum := sha256.Sum256([]byte(strings.Join(keys, "\n"))) |
| 132 | return hex.EncodeToString(sum[:]) |
| 133 | } |
no outgoing calls
no test coverage detected