I need some help me
how to encrypt the
this is the full script
any help ??
function Encrypt(value) {
var key = CryptoJS.enc.Utf8.parse('8080808080808080');
var iv = CryptoJS.enc.Utf8.parse('8080808080808080');
var encryptedlogin = CryptoJS.AES.encrypt(CryptoJS.enc.Utf8.parse(value), key,
{
keySize: 128 / 8,
iv: iv,
mode: CryptoJS.mode.CBC,
padding: CryptoJS.pad.Pkcs7
});
return encryptedlogin;
}
I added them in AESencryption but he give me a false value
i cant add the UTF, and i cant add the keysize 128/8
Any professional one here ??
Ruri
March 15, 2021, 10:11pm
2
key and iv must be in base64 not utf8, use an online converter
Still the same problem
password is wrong ( < PASS > )
i tested the password in the website and he gived me a value ( Hiidydu…== )
i tried the same password in OB with encrypted key & iv and he gived me different value (xh9c5u3MsQF…==)
and i think the problem from key size 128/8
Ruri
March 15, 2021, 10:34pm
4
Yeah the key size is fixed at 256 in the code you would need to edit the code of OB1 to change it
can you give me the script let me add it to loliscript !! ( key size128/8 )
Ruri
March 15, 2021, 11:08pm
6
You can’t, you have to change the source code of OB
Ruri
March 15, 2021, 11:11pm
8
Exactly. If you want me to add configurable key size in OB2 open an issue on github
ok thanks riru
dont forget to work on it next update
Ruri
March 15, 2021, 11:16pm
10
If you open an issue yes, if you don’t, no