Posted: Sat Sep 29, 2012 9:18 am Post subject: PHP refusing to AES Decrypt post data, but decrypts anything
So I have 2 functions on PHP, AES Encrypt and AES Decrypt.
They both work wonders if I encrypt/decrypt text by manually making a string containing the encrypted text, but if I decrypt data that I got from post data, everything fucks up. Can anyone help?
Here's my code: (I know it's inefficient and not secured, I'm not worried about that)
As you can see:
1. It detects the post data
2. It can decrypt the manually inputted string just fine
3. It doesn't show anything when decrypting post data.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum