Files
waf-platform/EdgeHttpDNS/internal/encrypt/method_raw.go
2026-02-27 10:35:22 +08:00

16 lines
284 B
Go

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
}