refactor: add nolint comment

This commit is contained in:
ᴍᴏᴏɴD4ʀᴋ
2022-08-14 22:16:24 +08:00
parent 63fc3a656a
commit 14fd71005a
4 changed files with 6 additions and 9 deletions
-3
View File
@@ -4,9 +4,6 @@ func Chromium(key, encryptPass []byte) ([]byte, error) {
if len(encryptPass) < 3 {
return nil, errPasswordIsEmpty
}
if len(key) == 0 {
return nil, errSecurityKeyIsEmpty
}
chromeIV := []byte{32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32}
return aes128CBCDecrypt(key, chromeIV, encryptPass[3:])