Proxy is working in a simple mode now

This commit is contained in:
9seconds
2021-03-23 15:14:36 +03:00
parent 66c45dc83b
commit a3362c7ea4
9 changed files with 220 additions and 26 deletions
-8
View File
@@ -13,11 +13,3 @@ func makeAesCtr(key, iv []byte) cipher.Stream {
return cipher.NewCTR(block, iv)
}
func invertByteSlices(dst, src []byte) {
lenDst := len(dst) - 1
for i, v := range src {
dst[lenDst-i] = v
}
}