Encrypted Data

F

Fred Herring

I need to compress data, encrypt it, send it someplace, decrypt it and then
decompress it for display. I have a question about the format of encrypted
data. I plan to use block encryption therefore an intersection vector will
be used. I must also plan on padding being applied to my final block. From
a logic standpoint, after I decrypt a message do I have to strip the
intersection vector (16 bytes) off the front of the data and any padding that
may have been necessary off the back of the data before I try to decompress
my data. So I guess my question is when I invoke the decrypt method and
assign the results to a variable, do that variable now include the origional
data, the intersetion vector at the front plus padding bytes at the end of
the data.

Fred
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,564
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top