Unit 2: Symmetric and Public Key Cryptography - Subjective Questions

CSE436 — Blockchain • Practice Questions with Detailed Answers

20 questions

1

Define cryptographic primitives. Explain the major categories of primitives used in modern cryptographic systems.

2

Describe how the OpenSSL command-line tool can be used to inspect its version, list supported algorithms, and obtain help for a command.

3

Explain how OpenSSL can be used to generate cryptographically secure random data and calculate a SHA-256 digest. State the applications of both operations.

4

Describe the structure and operation of the Advanced Encryption Standard (AES). Why is AES considered secure and efficient?

5

Compare ECB, CBC, CTR, and GCM modes of operation for AES. Which mode is generally preferred for modern applications, and why?

6

Demonstrate how a file can be encrypted and decrypted with AES-256-CBC using OpenSSL. Explain the purpose of the salt, password-based key derivation, and IV.

7

Distinguish between a cryptographic key, salt, initialization vector, and nonce. What security problems arise if each is misused?

8

Compare symmetric-key and asymmetric-key cryptography in terms of keys, performance, key distribution, security services, and practical applications.

9

Explain RSA key generation, encryption, and decryption using suitable mathematical expressions. Mention the main practical security requirements.

10

Describe the Diffie–Hellman key-exchange procedure. Explain why authentication is necessary even though the shared secret is not transmitted.

11

Explain elliptic-curve cryptography and identify its advantages and uses in blockchain systems.

12

Define a cryptographic hash function and explain preimage resistance, second-preimage resistance, and collision resistance.

13

What is HMAC? Explain its construction and distinguish it from an ordinary cryptographic hash.

14

Explain the creation and verification of a digital signature. How does a digital signature support blockchain transactions?

15

Describe how OpenSSL can be used to generate an RSA key pair, sign a file, and verify the signature.

16

Explain the purpose of digital certificates and Public Key Infrastructure (PKI). How can an X.509 certificate be examined using OpenSSL?

17

What is hybrid encryption? Design a high-level hybrid scheme that provides confidentiality, integrity, and recipient authentication.

18

Explain the construction of a Merkle tree and describe how a Merkle proof verifies the inclusion of a transaction in a block.

19

Explain how public-key cryptography, hashing, and digital signatures work together to authorize and validate a blockchain transaction.

20

Describe how hash-linked blocks provide tamper evidence. Also explain the role of a nonce and proof-of-work in a blockchain.