1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
worty [1.4K]
3 years ago
11

Compare AES to DES. For each of the following elements of DES, indicate the comparable element in AES or explain why it is not n

eeded in AES:a.Swapping of halves of the blockb. f functionc.permutation Pd. XOR of the f function output with the left half of the blocke. XOR of the subkey material with the input to the f function.
Computers and Technology
1 answer:
Setler79 [48]3 years ago
4 0

Answer:

See explaination for the comparison

Explanation:

Comparison Of AES & DES:

DES(Data Encryption Standard)

​In DES the data block is always been divided into two of the halves.

It works on the Feistel Cipher Structure.

The plaintext is of the 64 bits.

DES has 16 rounds in it.

The rounds that are in DES are as follows:

Expansion

Permutation

XOR

S-box

P-box

Swap

DES has a smaller key which is less secure as compared to AES

In speed, the DES is comparatively slower.

AES(Advanced Encryption Standard)

​In AES the entire data block is always processed as a single matrix.

It works on the principle of substitution and permutation.

The plaintext in AES varies from 128 bits ,192 bits, 256 bits, etc.

AES has a larger key size as compared to the DES.

There are many variations to the rounds in AES and is dependent on the bits of the encryption.They are as follows: 128-bits algorithm consists of 10 rounds. 192-bits algorithm consists of 12 rounds. 256-bits algorithm consists of 14 rounds.

The names for the rounds are as follows:

Subbytes

Shiftrows

Mix Columns

AddRoundkeys.

AES is having large secret key comapratively to the DES which is more secure.

Comparing the speed for the encryptions AES is faster than DES.

a.) AddRoundKey

b.) Since AES is not Feistel cipher this step is not essential.

c.) ByteSub is there.

d.) ShiftRow and MixColumn

e.) No swaping of halves

You might be interested in
A researcher wants to do a web-based survey of college students to collect information about their sexual behavior and drug use.
Kay [80]

Answer:

magnitude and the probability of it occurring

Explanation:

In every single study that involves an individuals risk of self-harm there are two variables that need to be evaluated, and those are the magnitude and the probability of it occurring. In other words how likely is the individual to hurt themselves and if they do, to what extent (physical, emotional, death). By evaluating this can allow you to take action if things get to serious, or even prevent something from happening that can lead that person that is at risk from hurting themselves.

4 0
3 years ago
write a pay-raise program that requests a person's first name, last name, and current annual salary, and then displays the perso
belka [17]

Without more information for what the programming language is I cannot give a full answer, so I listed a potential method for calculating salary.

To calculate the salary (Java):

public static double getSalary(double salary) {

   if (salary < 40000) {

        return salary + (salary * 0.05);

   }

   return 2000 + ((0.02 * salary) + salary);

}

To calculate the salary (VB .Net):

Function getSalary(ByVal salary As Double) As Double

   If salary < 40000 Then

       salary = salary + (salary * 0.05)

   Else

       salary = 2000 + ((0.02 * salary) + salary)

   End If

   Return salary

End Function

7 0
3 years ago
Samantha received a gaming session as a gift. She would like to have it communicate with her sister Jennifer’s gaming system so
WARRIOR [948]

Answer:

Wi-Fi Direct

Explanation:

Wi-Fi Direct is a Wi-Fi standard for peer-to-peer wireless connections that allows two devices to establish a direct Wi-Fi connection without an intermediary wireless access point, router, or Internet connection.

3 0
4 years ago
Write a program that records high-score data for a fictitious game. the program will ask the user to enter five names, and five
Harman [31]

Scores.cpp

#include <iostream>

#include <string>

using namespace std;

void initializeArrays(string names[], int scores[], int size);

void sortData(string names[], int scores[], int size);

void displayData(const string names[], const int scores[], int size);

int main()

{

   string names[5];

   int scores[5];

   //reading names and scores

   initializeArrays(names, scores, 5);

   //sorting the lists based on score.

   sortData(names, scores, 5);

   //displaying the contents of both arrays

   displayData(names, scores, 5);

 

  return 0;

}

void initializeArrays(string names[], int scores[], int size){

   for(int i=0; i<size; i++){

       cout<<"Enter the name for score #"<<(i+1)<<": ";

       cin >> names[i];

       cout<<"Enter the score for score #"<<(i+1)<<": ";

       cin >> scores[i];

       }

}

void sortData(string names[], int scores[], int size){

   

       int temp = 0;

       string tempStr = "";

       

       for(int i=0; i < size; i++){

               for(int j=1; j < (size-i); j++){

                      //checking max score and sorting based on it.

                       if(scores[j-1]< scores[j]){

                               //swap the elements!

                           //swapping scores

                               temp = scores[j-1];

                               scores[j-1] = scores[j];

                               scores[j]=temp;

                               

                               //swapping names

                               tempStr = names[j-1];

                               names[j-1] = names[j];

                               names[j]=tempStr;

                       }

                       

               }

       }

}

void displayData(const string names[], const int scores[], int size){

   cout<<"Top Scorers:"<<endl;

       //printing the elements up to the size of both arrays.

       for(int i=0; i<size; i++){

           cout<<names[i]<<": "<<scores[i]<<endl;

       }

}

3 0
4 years ago
The winning design is typically that which most closely meets the design
zimovet [89]

when the when the when the add the when are you is id god his gay for your top off jack dafe cafe read line green red whats the answerAnswer:

when the when the when the add the when are you is id god his gay for your top off jack dafe cafe read line green red whats the answer

Explanation:

7 0
3 years ago
Other questions:
  • Select one technology limitation in regards to quality improvement (QI) programs Technology is not fast enough Not all electroni
    12·1 answer
  • If a cheetah covers 155 meters in 5 seconds, at what speed is the cheetah running?
    14·2 answers
  • You easily can give slides in a presentation a professional and integrated appearance by using a placeholder.
    11·1 answer
  • An example of hardware is a(n) _____.
    9·2 answers
  • What is a software? 2 sentences please, I'll mark u as brailiest
    12·1 answer
  • What is the smallest amount of information called?
    13·2 answers
  • Consider the following code:
    13·1 answer
  • Project: Baseline, Benchmark, Objective, and Goal
    14·2 answers
  • __ allow(s) users with mobility issues to control the computer with their voice.
    6·2 answers
  • How do you change the colors of files?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!