mirror of
https://github.com/moonD4rk/HackBrowserData
synced 2024-12-12 17:14:44 +00:00
17 lines
353 B
Go
17 lines
353 B
Go
//go:build linux
|
|
|
|
package crypto
|
|
|
|
var iv = []byte{32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32}
|
|
|
|
func DecryptPass(key, encryptPass []byte) ([]byte, error) {
|
|
if len(encryptPass) < 3 {
|
|
return nil, errPasswordIsEmpty
|
|
}
|
|
return aes128CBCDecrypt(key, iv, encryptPass[3:])
|
|
}
|
|
|
|
func DPAPI(data []byte) ([]byte, error) {
|
|
return nil, nil
|
|
}
|