# MCQ | Block Cipher as IDEA, DES, AES, RSA in Cryptography

Here, we have a set of multiple-choice questions and answers (quiz) on Block Cipher as IDEA, DES, AES, RSA in Cryptography.
Submitted by Monika Sharma, on March 22, 2020

1) In the AES-128 algorithm there are mainly __________ similar rounds and _________ round is different from other round.

1. 5 similar rounds having 2 pair ; every alternate
2. 9 ; the last
3. 8 ; the first and last
4. 10 ; no

Explanation:

Basically, in the AES-128 there are 9 rounds and the last round is different from other rounds.

2) Which of the following modes of operation in DES is used for operating?

1. Cipher Feedback Mode (CFB)
2. Cipher Block chaining (CBC)
3. Electronic code book (ECB)
4. Output Feedback Modes (OFB)

Answer: c. Electronic code book (ECB)

Explanation:

Mainly, the Electronic codebook mode is used for operating on short data as the same key is used for each block in this algorithm. Thus convert in Plain Text lead to repetitions in Cipher Text in cryptography.

3) Using Rivest, Shamir, Adleman cryptosystem with p=7 and q=9. Encrypt M=24 to find ciphertext. The Ciphertext is:

1. 42
2. 93
3. 114
4. 103

Explanation:

```    Calculate n = p × q = 63
Phi(n)=(p-1) x (q-1)=48
Let e=5 , where gcd(e,phi(n))=1
Plaintext M = 24
Ciphertext = C ≡ M^e (mod n)
= 24^5 mod 63 = 7962624 mod 161
Ciphertext transmitted = 114.
```

4) International Data Encryption Algorithm (IDEA) was developed by

1. Xuejia Lai and James Massey
2. Xuejia Lai and Bruce Schneier
3. Xuejia Lai and Carlisle Adams
4. Xuejia Lai and Stafford Tavares

Answer: a. Xuejia Lai and James Massey

Explanation:

It is a symmetric key block cipher designed by James Massey of ETH Zurich and Xuejia Lai and in 1991 it firstly described it.

5) When do we compare the AES with DES, which of the following functions from DES does not have an equivalent AES function in cryptography?

1. f function
2. permutation p
3. swapping of halves
4. xor of subkey with function f

Explanation:

Mainly, there is no equivalent to swapping of halves in the AES algorithm in cryptography.

Languages: » C » C++ » C++ STL » Java » Data Structure » C#.Net » Android » Kotlin » SQL
Web Technologies: » PHP » Python » JavaScript » CSS » Ajax » Node.js » Web programming/HTML
Solved programs: » C » C++ » DS » Java » C#
Aptitude que. & ans.: » C » C++ » Java » DBMS
Interview que. & ans.: » C » Embedded C » Java » SEO » HR
CS Subjects: » CS Basics » O.S. » Networks » DBMS » Embedded Systems » Cloud Computing
» Machine learning » CS Organizations » Linux » DOS
More: » Articles » Puzzles » News/Updates