mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-14 14:47:12 +00:00
Version 1.0 alpha
This commit is contained in:
1 parent
f3a12e9f57
commit
cc3fdb6ef4
21 files changed
+279
-103
No files matched your search
+2
-2
@@ -224,8 +224,8 @@ func (w *VMessRequestWriter) Write(writer io.Writer, request *VMessRequest) erro
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
aesMode := cipher.NewCBCEncrypter(aesCipher, make([]byte, blockSize))
|
||||
cWriter := v2io.NewCryptionWriter(aesMode, writer)
|
||||
aesStream := cipher.NewCFBEncrypter(aesCipher, make([]byte, blockSize))
|
||||
cWriter := v2io.NewCryptionWriter(aesStream, writer)
|
||||
|
||||
_, err = writer.Write(buffer[0:encryptionBegin])
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user