EMS appKey Decryption not working
Hi,
We have created an EXE application where user can enter the appKey for EMS connectivity and EXE application will generate and update the config.json file with encrypted appKey.
This was working fine for EMS v5.4.7. EMS was able to connect to server without any issues.
However after Upgrade to EMS v5.4.10, the EXE application was able to generate the encrypted appKey, but EMS is not able to connect to the server.
Log file shows below error when trying to connect.

Also if we generate the encrypted appKey manually using below command and use that, EMS can successfully connect to the server.
“wsems.exe -encrypt <AppKey>”
Below is the code block used in the EXE application to automatically generate the encrypted appKey.

Could you please help identify what may be the reason for not able to decrypt, or what may be going wrong during the encryption process after EMS upgrade.
Thanks and Regards,
Bhushan

