Files
HackBrowserData/internal/decrypter/decrypter_darwin.go
T
2022-08-16 19:24:36 +08:00

15 lines
334 B
Go

package decrypter
func Chromium(key, encryptPass []byte) ([]byte, error) {
if len(encryptPass) <= 3 {
return nil, errPasswordIsEmpty
}
iv := []byte{32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32}
return aes128CBCDecrypt(key, iv, encryptPass[3:])
}
func DPAPI(data []byte) ([]byte, error) {
return nil, nil
}