Full implementation of Socks5 protocol, proxying is on the way

This commit is contained in:
V2Ray committed 2015-09-08 13:18:55 +02:00
1 parent 5317b7d112
commit fb1ad8b81b
7 files changed
+121 -10

No files matched your search

+1
View File
@@ -9,6 +9,7 @@ import (
// The ID of en entity, in the form of an UUID.
type VID [16]byte
// Hash generates a MD5 hash based on current VID and a suffix string.
func (v VID) Hash(suffix []byte) []byte {
md5 := md5.New()
md5.Write(v[:])