MCPcopy Index your code
hub / github.com/MengMengCode/GetRealityDomain / getCurveString

Function getCurveString

scanner.go:181–186  ·  view source on GitHub ↗

getCurveString 获取椭圆曲线字符串

(cipherSuite uint16)

Source from the content-addressed store, hash-verified

179
180// getCurveString 获取椭圆曲线字符串
181func getCurveString(cipherSuite uint16) string {
182 // 由于Go的TLS实现中,椭圆曲线信息不直接暴露在ConnectionState中
183 // 我们通过TLS配置强制使用X25519,所以这里直接返回X25519
184 // 在实际的TLS 1.3连接中,如果握手成功,说明使用了我们指定的X25519
185 return "X25519"
186}
187
188// BatchScan 批量扫描
189func BatchScan(hostChan <-chan Host, resultChan chan<- ScanResult, geo *Geo) {

Callers 1

scanSingleIPFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected