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.
HackBrowserData/crypto/crypto_linux.go

17 lines
350 B

//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(_ []byte) ([]byte, error) {
return nil, nil
}