wais-bodycam-dashcam v2
-=Stripped Content=-
Where did you get this script? Why does it have cryptographic decryption, what does it decrypt?
Code:
const nf = o_;
const DecryptData = (encryptedData, key) => {
const IV = 14;
let parsedKey = key ? nf.enc.Utf8.parse(key) : "";
const decryptedBytes = nf.AES.decrypt(encryptedData, parsedKey, {
iv: IV
});
if (decryptedBytes) {
try {
const decryptedString = decryptedBytes.toString(nf.enc.Utf8);
if (decryptedString.length > 0) {
return decryptedString;
} else {
return "error 1";
}
} catch {
return "error 2";
}
}
return "error 3";
};