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,18 @@
package protocol
import "github.com/Dreamacro/clash/transport/ssr/tools"
func init() {
register("auth_aes128_md5", newAuthAES128MD5, 9)
}
func newAuthAES128MD5(b *Base) Protocol {
a := &authAES128{
Base: b,
authData: &authData{},
authAES128Function: &authAES128Function{salt: "auth_aes128_md5", hmac: tools.HmacMD5, hashDigest: tools.MD5Sum},
userData: &userData{},
}
a.initUserData()
return a
}