DACS Theory

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play

1/11

encourage image

There are no tags or description

Looks like no tags are added yet.

12 Terms

1
New cards

Pre image Resistance with increasing message digest size that should match

Example, given 9f3, find message whose hash ends with 9f3

The longer the part of the required message digest, higher the number of attempts to find the message digest (increases exponentially).

Suggest brute forcing for hashing is computationally expensive and take long time

So it would be infeasible for attacker to find original message through brute force, proving pre image resistance

2
New cards

Second pre-image:

Find another message that ends with 9f3 where 9f3 is hash of x

Number of attempts increases exponentially with message digest.

So finding a h(x’) would be infeasible, proving second pre image resistance

3
New cards

Collision resistance:

Find any two message of hash with same last 3 digits

Here too the number of attempts increases with size of matching hexadecimal digits

however where as the number of attempts are similar for preimage and second preimage resistance, it is different here (lesser) due to the birthday paradox.

So, collision resistance provides only half the security compared to preimage and second preimage.

Hence to ensure security, we need to make collision resistance infeasible.

4
New cards

BLOCK: Key space in double encryption and brute force

Total number of key pairs = 2^n * 2^n = 2^ 2n

Brute force requires trying all possible combinations of the 2 keys

5
New cards

BLOCK: MITM and double encryption

  • Don’t try every key pair

  1. Encrypt plaintext using every possible first key

  2. Decrypt the obtained cipher text with every possible second key

  3. Find a match between 1 and 2 to get (k1, k2)


Total computation. = 2^n + 2^n < 2^n * 2^n

So actual strength of double encryption is approx 2^n

6
New cards

Does double encryption provide twice the security of single encryptionn

No, it is approximately the same

7
New cards

BLOCK: Key space in triple encryption and brute force

2^n*2^n*2^n = 2^ 3n

Brute force requires trying all combinations of key triples

8
New cards

BLOCK: MITM and triple encryption

  1. Encrypt the plaintext twice with (k1, k2) (2^ 2n size)

  2. Decrypt the cipher text with (k3) (2^ n size)

  3. Find a match between 1 and 2 to get (k1, k2, k3)


Total computation. = 2^2n + 2^n < 2^n 2^n 2^n

So actual strength of double encryption is approx 2^ 2n

9
New cards

_____ encryption provide twice the security of single encryptionn

Triple due to MITM

10
New cards

Extend the previous questions to X10 till X15 and derive a simple rule on how to obtain the value of a polynomial of degree less 16 mod P(X). Why are we considering polynomials of degree less than 16 and not more?

The highest power we can obtain in a product is x^7 × x^7 =x^14.

To make modulo reduction easier, we have polynomials of degree less than 16. Anything beyond 16 can be reduced using values of x^8-x^16.

11
New cards

Property of mix column diffusion

MixColumn provides diffusion within the columns. So the columns with non-zero bytes changes to full-non-zero bytes while ones with zeroes remain as they are.

12
New cards

01*FF

02*FF

03*FF

FF always

Addition is the complement.