Gocritic changes

This commit is contained in:
Xpl0itU 2023-09-08 17:30:57 +02:00
parent 4bc0236cf8
commit 8f13b57ae8
7 changed files with 17 additions and 18 deletions

View file

@ -17,7 +17,7 @@ var (
keygen_pw = []byte{0x6d, 0x79, 0x70, 0x61, 0x73, 0x73}
)
func encryptAES(data []byte, key []byte, iv []byte) ([]byte, error) {
func encryptAES(data, key, iv []byte) ([]byte, error) {
block, err := aes.NewCipher(key)
if err != nil {
return nil, err