I solved my prob. It was in the transport, I sent an integer as 3 bytes...and forgot to read my file into my buffer. duh
I shouldn't smoke as much weed while I code...
User Profile
Collapse
-
Padding is invalid and cannot be removed.
This is driving me insane. Ive checked every sample and cant see anything happening differently. I'm sending the file over a network so the key and IV bytes are sent with the file to be used to decrypt, but every time it goes to decrypt i get "Padding is invalid and cannot be removed." Please give me at least a clue someone.
Edit : I know I posted this under the wrong language, my bad. Its c# not c
here's my code:...Last edited by Frinavale; Jan 4 '10, 08:04 PM. Reason: Please post code in [code] ... [/code] tags. Added code tags.
No activity results to display
Show More
Leave a comment: