管理端全部功能跑通
This commit is contained in:
15
EdgeHttpDNS/internal/encrypt/method_raw.go
Normal file
15
EdgeHttpDNS/internal/encrypt/method_raw.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package encrypt
|
||||
|
||||
type RawMethod struct{}
|
||||
|
||||
func (m *RawMethod) Init(key []byte, iv []byte) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *RawMethod) Encrypt(src []byte) (dst []byte, err error) {
|
||||
return src, nil
|
||||
}
|
||||
|
||||
func (m *RawMethod) Decrypt(dst []byte) (src []byte, err error) {
|
||||
return dst, nil
|
||||
}
|
||||
Reference in New Issue
Block a user