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.
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?
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)
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)?
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...
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...
Using R, generate 10 different samples of size 20 from a standard normal distribution and generate...
Using R, generate 10 different samples of size 20 from a standard normal distribution and generate qq plots for each sample. Include two qq plots for your answer; one that shows the sample that is most and one that shows the sample that is least similar to what we would expect from a normal population. Make sure to label which is which and explain what characteristics of the graphs you used to choose which was which.
A random sample of 22 STAT 250 students was collected and the file size of Data...
A random sample of 22 STAT 250 students was collected and the file size of Data Analysis 2 was recorded. The data was measured in megabytes. The instructors of the course claim that the file size will be different from 5 megabytes. Consider the population of all file sizes to be right skewed. Using a= 0.01, is there sufficient evidence to conclude that the mean file size of Data Analysis 2 is different from 5 megabytes? Conduct a full hypothesis...