Question

A file whose size is 20 bytes is encrypted using the AES with CBC and OFB,...

A file whose size is 20 bytes is encrypted using the AES with CBC and OFB, respectively. What will be the size of each encrypted file?

Homework Answers

Answer #1

the actual file size provided is 20 bytes .

to do encryption we need several bytes to be padded based on encryption algorithm.

  • Padding is needed for ECB and CBC encryption modes because their inputs contain number of blocks, thus padding could ensure that. Block size depends on the algorithm: AES uses 16 byte blocks while Blowfish and 3DES use 8-byte blocks.
  • There is no need padding for encryption mode CFB and OFB because they are stream ciphers, in which the size of the block is usually fixed (one character).

Sizes of file after encrypted based on encryption algorithm.

1.AES= 32 bytes .

2.CBC=32 bytes.

3.OFB=20 bytes.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Open a file handle to each file, use lseek to determine the file's size in bytes...
Open a file handle to each file, use lseek to determine the file's size in bytes and print out the file's size in bytes next to its name. Include a main that does this below. Please do the above code using C Language.
) Suppose that a certain communication protocol involves a per-packet overhead of 100 bytes for headers....
) Suppose that a certain communication protocol involves a per-packet overhead of 100 bytes for headers. We send a file of 100 KB (100,000 bytes) from Host A to Host B. There are two links (and one switch) between A and B. Each link has a transmission rate of 1Mbps. Find the total transfer time of moving the file from Host A to Host B for packet size of 1,000, 5,000, and 10,000 bytes, respectively. Ignoring the propagation delay and...
Assume one file has r = 10^6 records. Each record takes R = 100 bytes, of...
Assume one file has r = 10^6 records. Each record takes R = 100 bytes, of which 10 bytes are for the key of the record. Suppose the key values range from 1 through 1,000,000 inclusive. Assume the block size B is 1000 bytes for all files, and that an address (block pointer, tree node pointer, or data record pointer) takes 10 bytes. What is the blocking factor bfr i for the single level index ? How many index blocks...
Using the SPI, we send three bytes to the LTC2600 DAC. What information is provided in...
Using the SPI, we send three bytes to the LTC2600 DAC. What information is provided in each of the three bytes?
c) Suppose an application generates chunks of 60 bytes of data every 20 msec, and each...
c) Suppose an application generates chunks of 60 bytes of data every 20 msec, and each chunk gets encapsulated in a TCP segment and then an IP datagram. What percentage of each datagram will be overhead, and what percentage will be application data? d) What is network address translation? Briefly explain with an example.
what is the approximate distribution of the mean of a random sample size 36 frim a...
what is the approximate distribution of the mean of a random sample size 36 frim a population whose mean and standard deviation are 20 and 12 respectively? why?
Discussion File Feedback # 20 Using the 95% CI given on the prior problem (repeated here);...
Discussion File Feedback # 20 Using the 95% CI given on the prior problem (repeated here); Variable n Sample Mean Std. Err. L. Limit U. Limit pH_level 90 4.577889 not given 4.5181427 4.6376348 What are the upper and lower bounds if we had constructed a 90% confidence interval, using the same sample data? a. (4.518 ; 4.638) b. (4.528 ; 4.628) c. (4.559 ; 5.717) d. (4.507 ; 4.649) e. (4.757 ; 4.899)
Suppose a simple random sample of size n equals 50 is obtained from a population whose...
Suppose a simple random sample of size n equals 50 is obtained from a population whose size is Upper N equals 20 comma 000 and whose population proportion with a specified characteristic is p equals 0.6 . Complete parts ​(a) through​ (c) below. ​(b) What is the probability of obtaining x equals 32 or more individuals with the​ characteristic? That​ is, what is ​P(Modifying Above p with caretgreater than or equals 0.64​)? ​P(ModifyingAbove p with caretgreater than or equals 0.64​)equals...
Consider a video file with the following specifications: • Width: 1920 • Height: 1080 • Frame...
Consider a video file with the following specifications: • Width: 1920 • Height: 1080 • Frame rate: 60 fps • Length: 2 hr 20 mins • Each frame is stored in 36-bit RGB a) What is the video bit rate per second? b) What is the size of the video file in GB (GigaBytes)?
Using Excel (if applicable), Amaco is considering a new project whose data are shown below. The...
Using Excel (if applicable), Amaco is considering a new project whose data are shown below. The equipment that would be used has a 3-year tax life according to MACRS and depreciation rates for such equipment are 33%, 45%, 15%, and 7% for Years 1 through 4, respectively. Revenues and other operating costs are expected to be constant over the project's 10-year expected life. What is the Year 2 cash flow? Equipment cost (depreciable basis) $100,000 Sales revenues, each year $60,000...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT