You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
420 B
18 lines
420 B
3 years ago
|
package decrypter
|
||
|
|
||
|
func ChromePass(key, encryptPass []byte) ([]byte, error) {
|
||
|
var chromeIV = []byte{32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32}
|
||
|
if len(encryptPass) > 3 {
|
||
|
if len(key) == 0 {
|
||
|
return nil, errSecurityKeyIsEmpty
|
||
|
}
|
||
|
return aes128CBCDecrypt(key, chromeIV, encryptPass[3:])
|
||
|
} else {
|
||
|
return nil, errDecryptFailed
|
||
|
}
|
||
|
}
|
||
|
|
||
|
func DPApi(data []byte) ([]byte, error) {
|
||
|
return nil, nil
|
||
|
}
|