C Flashcards

1
Q

What describes the modulo operation

A

It is the remainder of the division

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How modulo work

A

المقسوم ينضرب بالناتج والمتبقي هو الناتج لل modula

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Fiestel cipher

A

Breaks the designing to design a good key expansion and a round function

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

AES SIZE

A

128,192,256 bits

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

A fact about the AES

A

The key size is secured for the future to be used

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Why is DES no longer recommended for use

A

Key is too short

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Least advisable padding scheme

A

Pad the message with all zeros

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

AES MODES

A

ECB(Electronic code book )
CBC(cipher block chaining )
CFB(cipher feedback mode)
OFB(output feedback mode)
CTR(counter mode)
GCM(galois counter mode)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Encrypts each block of plaintext independently with the same key

A

ECB

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Each plaintext is XORed with the previous cipher textblock before encryption

A

CBC

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Converts a block cipher into a stream cipher

A

CFB

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Similar to CFB but uses encrypted IV as a key stream

A

OFB

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

A counter value is encrypted to generate a key stream

A

CTR

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

ECB features

A

Simple, insecure

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

CBC features

A

Chaining prevents repetition

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

CFB features

A

Stream cipher mode

17
Q

OFB features

A

Stream cipher mode, error tolerant

18
Q

CTR features

A

Parallesziable, efficient

19
Q

GCM features

A

Encryption + authentication

20
Q

Evaluation criteria

A

Cost
Security
Implementation and algorithm

21
Q

A simple mono alphabetic cipher has how many outcomes

22
Q

Caesar cipher requires

A

Shifts the key is in the shift

23
Q

AES finalists

A

MARS
RC6
Rijndael
Serpent
Twofish

24
Q

Examples of block ciphers

A

AES
DES
3DES

25
Recommend block cipher
Only AES
26
DES key size
56
27