Public Key Cryptography and RSA

This is a computer science engineering quiz on cryptography and network security, which includes questions on Public Key Cryptography and RSA.

Start Quiz

Using Rabin cryptosystem with p=23 and q=7 Encrypt P=24 to find ciphertext. The Cipher text is

42 93 74 12

Which Cryptographic system uses C1 = (e1r) mod p and C1 = (e2r x P) mod p at the encryption side?

Elgamal RSA Rabin Whirlpool

Sender chooses p = 107, e1 = 2, d = 67, and the random integer is r=45. Find the plaintext to be transmitted if the ciphertext is (28,9).

45 76 66 13

In Elgamal cryptosystem, given the prime p=31. Choose e1= first primitive root of p and d=10, calculate e2.

24 36 25 62

In Elgamal cryptosystem, given the prime p=31. Encrypt the message “HELLO”; use 00 to 25 for encoding. The value of C2 for character ‘O’ is

09 07 23 27

In Elgamal cryptosystem, given the prime p=31. What is the respective plaintext character for C = (27, 20)?

H L O M

Imagine you had a set of weights {62, 93, 26, 52, 166, 48, 91, and 141}. Find subset that sums to V = 302.

{62, 48, 166, 52} {141, 26, 52, 48} {93, 26, 91, 48} {62, 26, 166, 48}

For the Knapsack: {1 6 8 15 24}, Find the cipher text value for the plain text 10011.

40 22 31 47

For the Knapsack: {1 6 8 15 24}, find the plain text code if the ciphertext is 38.

10010 01101 01001 01110

A superincreasing knapsack problem is ____ to solve than a jumbled knapsack.

Easier Tougher Shorter Lengthier

Consider knapsack that weighs 23 that has been made from the weights of the superincreasing series {1, 2, 4, 9, 20, and 38}. Find the ‘n’.

011111 010011 010111 010010

Another name for Merkle-Hellman Cryptosystem is

RC4 Knapsack Rijndael Diffie-Hellman

In Merkle-Hellman Cryptosystem, the hard knapsack becomes the private key and the easy knapsack becomes the public key.

True False

In Merkle-Hellman Cryptosystem, the public key can be used to decrypt messages, but cannot be used to decrypt messages. The private key encrypts the messages.

True False

“Rabin Cryptosystem is a variant of the Elgamal Cryptosystem”.

True

False

Quiz/Test Summary
Title: Public Key Cryptography and RSA
Questions: 15
Contributed by:
james