feat: add compress result to zip file Close #24

This commit is contained in:
ᴍᴏᴏɴD4ʀᴋ
2020-08-07 11:45:37 +08:00
parent c674430a1b
commit 221c059642
5 changed files with 67 additions and 32 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ import (
func ChromePass(key, encryptPass []byte) ([]byte, error) {
if len(encryptPass) > 15 {
// remove prefix 'v10'
// remove Prefix 'v10'
return aesGCMDecrypt(encryptPass[15:], key, encryptPass[3:15])
} else {
return nil, errPasswordIsEmpty