|
-
Jun 8th, 2002, 12:05 AM
#1
Thread Starter
Hyperactive Member
DES / Encryption
I'm alittle confused about encryption. Encryption like DES or any algorythm that operates like it uses a fixed amount of data to encrypt in every "block" of plaintext. For example DES, uses 64bits of plaintext data and a 64bit key to make 64bits of cyphertext.
(if you know what i mean, but need to review... http://www.cerberussystems.com/INFOSEC/stds/fip46-3.htm)
my problem is, what does DES or an algorythm like DES do if it is encrypting a block of data with less than 64bits of data (like the last few bits of a larger file that's size isn't an even multiple of 64)? after all, it has to go through the initial permutation and swap the place of the different bits of data before it encrypts them. so how do you swap the bits of data if there aren't all 64bits there to swap?? If you add in null characters of data to even it out to 64 bits, then when you decrypt, the nulls will be there, and you won't have any way to tell if they are supposed to be there (cause they could have been part of the end of the origional data) or if they were added.
if someone could help me out here.....
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|