mirror of
https://github.com/moonD4rk/HackBrowserData
synced 2025-02-17 19:17:10 +00:00
17 lines
363 B
Go
17 lines
363 B
Go
//go:build linux
|
|
|
|
package decrypter
|
|
|
|
func Chromium(key, encryptPass []byte) ([]byte, error) {
|
|
if len(encryptPass) < 3 {
|
|
return nil, errPasswordIsEmpty
|
|
}
|
|
|
|
chromeIV := []byte{32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32}
|
|
return aes128CBCDecrypt(key, chromeIV, encryptPass[3:])
|
|
}
|
|
|
|
func DPAPI(data []byte) ([]byte, error) {
|
|
return nil, nil
|
|
}
|