Move shadowsocksr implementation to clash

This commit is contained in:
世界
2022-09-14 21:26:35 +08:00
parent 395b13103a
commit 92bf784f4f
23 changed files with 2128 additions and 61 deletions

View File

@@ -0,0 +1,11 @@
package tools
import (
"bytes"
"crypto/rand"
"io"
)
func AppendRandBytes(b *bytes.Buffer, length int) {
b.ReadFrom(io.LimitReader(rand.Reader, int64(length)))
}