优化代码

This commit is contained in:
刘祥超
2022-04-10 18:46:44 +08:00
parent 2490d6f9d8
commit 715e79c3e1

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)
}