优化代码

This commit is contained in:
刘祥超
2024-05-11 09:23:54 +08:00
parent f5596b4f0c
commit 777bbdf50b
116 changed files with 175 additions and 161 deletions

View File

@@ -0,0 +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)
}