优化代码

This commit is contained in:
GoEdgeLab
2022-04-10 18:46:44 +08:00
parent fbe1278587
commit 1938dc7c44

View File

@@ -1,12 +1,12 @@
package encrypt
type MethodInterface interface {
// 初始化
// Init 初始化
Init(key []byte, iv []byte) error
// 加密
// Encrypt 加密
Encrypt(src []byte) (dst []byte, err error)
// 解密
// Decrypt 解密
Decrypt(dst []byte) (src []byte, err error)
}