HackBrowserData/crypto/crypto_darwin.go

17 lines
352 B
Go
Raw Normal View History

2022-08-16 11:30:53 +00:00
//go:build darwin
2023-03-10 06:52:26 +00:00
package crypto
var iv = []byte{32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32}
2023-03-12 06:23:54 +00:00
func DecryptPass(key, encryptPass []byte) ([]byte, error) {
if len(encryptPass) <= 3 {
return nil, errPasswordIsEmpty
}
return aes128CBCDecrypt(key, iv, encryptPass[3:])
}
2023-04-04 12:05:32 +00:00
func DPAPI(_ []byte) ([]byte, error) {
return nil, nil
}