re-enable vmess test

This commit is contained in:
V2Ray committed 2015-09-16 21:13:13 +02:00
1 parent 8f93612dec
commit 228e1eeabe
11 files changed
+137 -68

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
package hash
import (
"crypto/md5"
)
func Int64Hash(value int64) []byte {
md5hash := md5.New()
buffer := int64ToBytes(value)
md5hash.Write(buffer)
md5hash.Write(buffer)
md5hash.Write(buffer)
md5hash.Write(buffer)
return md5hash.Sum(nil)
}