refactor: format project layout

This commit is contained in:
ᴍᴏᴏɴD4ʀᴋ
2022-03-26 14:03:40 +08:00
parent a341928926
commit c2bc33e2fe
28 changed files with 214 additions and 94 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
}