mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-07-04 21:37:47 +02:00
d720762595
Chromium's v10 means AES-GCM on Windows but AES-CBC on macOS/Linux. Dispatch the cipher by master-key length (32B GCM, 16B CBC) so one binary can decrypt a key dumped from a different OS.
8 lines
117 B
Go
8 lines
117 B
Go
//go:build darwin
|
|
|
|
package crypto
|
|
|
|
func DecryptDPAPI(_ []byte) ([]byte, error) {
|
|
return nil, errDPAPINotSupported
|
|
}
|