Join GitHub today
Decryption error and strange symbols #1320
I have mobile application that encrypts strings with RSA and sends that encrypted data to PHP web server.
After a search I found that phpseclib is used to decrypt RSA
No matter what I do I receive despite error despite used mode
Am i doing something wrong?
What I have tried:
Private key for decryption:
Encrypted message (base64 encoded):
PHP sample code:
It looks like this question was cross posted on stackoverflow FWIW:
I wasn't bashing you lol. I was just posting the link because if you got the answer there there's not a lot of need for me or anyone else to spin our wheels here.
An answer is an answer regardless of where you get it from so if you get an answer on stackoverflow the need to post the answer here is lessened. I suppose there might also be some virtue to copy / pasting the answer from stackoverflow to here but idk lol.
But I wasn't bashing you!