dev-feat: add chromium browser for macos

This commit is contained in:
ᴍᴏᴏɴD4ʀᴋ
2021-12-31 16:50:50 +08:00
parent 38a40cb29c
commit 9129c2a0c7
22 changed files with 1337 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
package decrypter
func ChromePass(key, encryptPass []byte) ([]byte, error) {
var chromeIV = []byte{32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32}
if len(encryptPass) > 3 {
if len(key) == 0 {
return nil, errSecurityKeyIsEmpty
}
return aes128CBCDecrypt(key, chromeIV, encryptPass[3:])
} else {
return nil, errDecryptFailed
}
}
func DPApi(data []byte) ([]byte, error) {
return nil, nil
}