HashWithKey hashes the specified string using the security key
(data, key string)
| 7 | |
| 8 | // HashWithKey hashes the specified string using the security key |
| 9 | func HashWithKey(data, key string) string { |
| 10 | d := sha1.Sum([]byte(data + ":" + key)) |
| 11 | return hex.EncodeToString(d[:]) |
| 12 | } |
no outgoing calls
searching dependent graphs…