mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-07 10:40:26 +08:00
[waf]支持包含二进制、不支持二进制等操作符;支持对参数值编解码
This commit is contained in:
7
internal/cache/utils.go
vendored
Normal file
7
internal/cache/utils.go
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
package cache
|
||||
|
||||
import "github.com/dchest/siphash"
|
||||
|
||||
func HashKey(key []byte) uint64 {
|
||||
return siphash.Hash(0, 0, key)
|
||||
}
|
||||
Reference in New Issue
Block a user