mirror of
https://github.com/moonD4rk/HackBrowserData
synced 2025-02-25 23:10:55 +00:00
18 lines
418 B
Go
18 lines
418 B
Go
package decrypter
|
|
|
|
func Chromium(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
|
|
}
|