mirror of
https://gitclone.com/github.com/MetaCubeX/Clash.Meta
synced 2024-11-15 13:41:23 +08:00
9eb98e399d
Co-authored-by: goomada <madao@DESKTOP-IOEBS0C.localdomain>
19 lines
446 B
Go
19 lines
446 B
Go
package protocol
|
|
|
|
import "github.com/Dreamacro/clash/component/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
|
|
}
|