HackBrowserData/internal/decrypter/decrypter_linux.go

15 lines
345 B
Go
Raw Normal View History

package decrypter
2022-04-19 18:14:18 +00:00
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
}