refactor: add nolint comment

This commit is contained in:
ᴍᴏᴏɴD4ʀᴋ committed 2022-08-14 22:16:24 +08:00
1 parent 63fc3a656a
commit 14fd71005a
4 files changed
+6 -9

No files matched your search

-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:])