[waf]支持包含二进制、不支持二进制等操作符;支持对参数值编解码

This commit is contained in:
刘祥超
2020-11-21 20:44:19 +08:00
parent b14dae74f1
commit defbb1ccb9
12 changed files with 425 additions and 2 deletions

7
internal/cache/utils.go vendored Normal file
View File

@@ -0,0 +1,7 @@
package cache
import "github.com/dchest/siphash"
func HashKey(key []byte) uint64 {
return siphash.Hash(0, 0, key)
}