Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.

Unit 2 MCQs Symmetric and Public Key Cryptography

CSE436 — Blockchain 60 questions. Pick an option to check it.

Read the notes Subjective questions

0 of 60 answered 0 right 0 wrong , 60 left

  1. Question 1 of 60 Working with the OpenSSL command line Easy

    Which command displays the installed OpenSSL version?

  2. Question 2 of 60 Working with the OpenSSL command line Easy

    What does the command openssl rand -hex 16 generate?

  3. Question 3 of 60 Working with the OpenSSL command line Easy

    Which OpenSSL subcommand is commonly used to calculate a SHA-256 digest of a file?

  4. Question 4 of 60 Working with the OpenSSL command line Easy

    Which option is added to an openssl enc command to perform decryption?

  5. Question 5 of 60 Cryptographic primitives Easy

    What is the main output of a cryptographic hash function?

  6. Question 6 of 60 Cryptographic primitives Easy

    Which security property is primarily provided by encryption?

  7. Question 7 of 60 Cryptographic primitives Easy

    What is the purpose of a cryptographically secure pseudorandom number generator?

  8. Question 8 of 60 Cryptographic primitives Easy

    What is a hash collision?

  9. Question 9 of 60 Advanced Encryption Standard (AES) Easy

    What type of cryptographic algorithm is AES?

  10. Question 10 of 60 Advanced Encryption Standard (AES) Easy

    What is the block size used by AES?

  11. Question 11 of 60 Advanced Encryption Standard (AES) Easy

    Which set lists the standard AES key sizes?

  12. Question 12 of 60 Advanced Encryption Standard (AES) Easy

    In AES, which key is normally used to decrypt data encrypted with a secret key?

  13. Question 13 of 60 Asymmetric cryptography Easy

    How many related keys are used in asymmetric cryptography?

  14. Question 14 of 60 Asymmetric cryptography Easy

    Which key may normally be shared openly in asymmetric cryptography?

  15. Question 15 of 60 Asymmetric cryptography Easy

    Which key is normally used to create a digital signature?

  16. Question 16 of 60 Asymmetric cryptography Easy

    Which pair contains examples of asymmetric cryptographic algorithms?

  17. Question 17 of 60 Cryptographic constructs and blockchain technology Easy

    What commonly links one blockchain block to the previous block?

  18. Question 18 of 60 Cryptographic constructs and blockchain technology Easy

    What is a Merkle tree used for in blockchain systems?

  19. Question 19 of 60 Cryptographic constructs and blockchain technology Easy

    What do digital signatures help prove for blockchain transactions?

  20. Question 20 of 60 Cryptographic constructs and blockchain technology Easy

    What happens to a block's cryptographic hash if the block data is changed?

  21. Question 21 of 60 Working with the OpenSSL command line Medium

    Which OpenSSL command computes the SHA-256 digest of package.bin without modifying the file?

  22. Question 22 of 60 Working with the OpenSSL command line Medium

    A file was encrypted using openssl enc -aes-256-cbc -salt -pbkdf2 -in plain.txt -out cipher.bin. Which command correctly decrypts it?

  23. Question 23 of 60 Working with the OpenSSL command line Medium

    After generating an RSA private key in private.pem, which command extracts its public key into public.pem?

  24. Question 24 of 60 Working with the OpenSSL command line Medium

    A SHA-256 signature is stored in sig.bin. Which command verifies it for message.txt using public.pem?

  25. Question 25 of 60 Cryptographic primitives Medium

    A software publisher wants customers to detect both file modification and malicious replacement of the published digest. Which mechanism is most appropriate?

  26. Question 26 of 60 Cryptographic primitives Medium

    Why is an HMAC generally more suitable than an unkeyed hash for authenticating messages exchanged by two parties sharing a secret?

  27. Question 27 of 60 Cryptographic primitives Medium

    Two plaintexts are encrypted using a stream cipher with the same key and nonce. What relationship can an attacker obtain from the ciphertexts?

  28. Question 28 of 60 Cryptographic primitives Medium

    For an ideal hash function with a 256-bit output, approximately how many random inputs are needed to obtain a collision with significant probability?

  29. Question 29 of 60 Advanced Encryption Standard (AES) Medium

    A system uses AES-192. Which combination correctly describes its block size and key size?

  30. Question 30 of 60 Advanced Encryption Standard (AES) Medium

    When AES-CBC encrypts multiple messages under the same key, which requirement should the initialization vector satisfy?

  31. Question 31 of 60 Advanced Encryption Standard (AES) Medium

    An application decrypting an AES-GCM message finds that its authentication tag is invalid. What should the application do?

  32. Question 32 of 60 Advanced Encryption Standard (AES) Medium

    An encrypted bitmap still reveals repeated visual patterns because identical plaintext blocks produce identical ciphertext blocks. Which AES mode was most likely used?

  33. Question 33 of 60 Asymmetric cryptography Medium

    A client must securely send a 50 MB file to a server that has an RSA public key. Which design is most practical?

  34. Question 34 of 60 Asymmetric cryptography Medium

    Alice signs a document with her private key. What should Bob use to verify that signature?

  35. Question 35 of 60 Asymmetric cryptography Medium

    Why should RSA-OAEP be used instead of applying raw RSA directly to a plaintext?

  36. Question 36 of 60 Asymmetric cryptography Medium

    Two parties perform unauthenticated ephemeral Diffie-Hellman over a hostile network. Which improvement directly addresses a man-in-the-middle attack?

  37. Question 37 of 60 Cryptographic constructs and blockchain technology Medium

    A blockchain defines each transaction ID as the SHA-256 hash of its serialized transaction. What is the expected effect of changing one byte in the transaction?

  38. Question 38 of 60 Cryptographic constructs and blockchain technology Medium

    A balanced Merkle tree contains 1024 transaction leaves. Approximately how many sibling hashes are needed to prove membership of one transaction?

  39. Question 39 of 60 Cryptographic constructs and blockchain technology Medium

    What do digital signatures on blockchain transactions primarily provide?

  40. Question 40 of 60 Cryptographic constructs and blockchain technology Medium

    An attacker modifies a transaction inside an old block of a hash-linked blockchain. What is the immediate structural consequence?

  41. Question 41 of 60 Working with the OpenSSL command line Hard

    A developer attempts to encrypt a file with openssl enc -aes-256-gcm but OpenSSL reports that the AEAD cipher is unsupported by enc. What is the most accurate explanation?

  42. Question 42 of 60 Working with the OpenSSL command line Hard

    Which OpenSSL command explicitly encrypts m.bin with an RSA public key using OAEP, SHA-256 for OAEP hashing, and SHA-256 for MGF1?

  43. Question 43 of 60 Working with the OpenSSL command line Hard

    A file is encrypted using openssl enc -aes-256-cbc -salt -pbkdf2 -iter 200000. Which security statement is correct?

  44. Question 44 of 60 Working with the OpenSSL command line Hard

    Which algorithm-independent pipeline computes a SHA-256 fingerprint of the DER-encoded SubjectPublicKeyInfo derived from private.pem?

  45. Question 45 of 60 Cryptographic primitives Hard

    For an ideal 256-bit hash, an adversary computes independently distributed hashes. Using the birthday approximation, what is the collision probability?

  46. Question 46 of 60 Cryptographic primitives Hard

    A Merkle–Damgård hash exposes as a MAC, where is a secret prefix. Why is replacing it with HMAC a relevant defense?

  47. Question 47 of 60 Cryptographic primitives Hard

    HKDF-Extract is applied to a human-memorable password using a public random salt. Which conclusion is correct?

  48. Question 48 of 60 Cryptographic primitives Hard

    A system must combine an IND-CPA secure cipher with a secure MAC using independent keys. Which construction most directly provides authenticated encryption under standard composition results?

  49. Question 49 of 60 Advanced Encryption Standard (AES) Hard

    Two different plaintexts are encrypted under AES-GCM with the same key and nonce. What is the most serious consequence?

  50. Question 50 of 60 Advanced Encryption Standard (AES) Hard

    An attacker flips selected bits in CBC ciphertext block for an internal block index . What happens after decryption?

  51. Question 51 of 60 Advanced Encryption Standard (AES) Hard

    Which parameter set correctly describes AES-256?

  52. Question 52 of 60 Advanced Encryption Standard (AES) Hard

    A protocol allocates exactly 32 bits of each AES-CTR input block to a per-message counter and never changes the remaining nonce field during that message. What is the maximum data length before counter wrap must be avoided?

  53. Question 53 of 60 Asymmetric cryptography Hard

    Two ECDSA signatures and on distinct message hashes and reuse the same nonce . Assuming inverses exist modulo the group order , which recovery formula is correct?

  54. Question 54 of 60 Asymmetric cryptography Hard

    What is the maximum message length that RSAES-OAEP can encode using a 2048-bit RSA modulus and SHA-256, assuming standard OAEP encoding?

  55. Question 55 of 60 Asymmetric cryptography Hard

    A protocol accepts an untrusted elliptic-curve public point for an ECDH operation. Which validation most directly prevents invalid-curve and small-subgroup attacks?

  56. Question 56 of 60 Asymmetric cryptography Hard

    For textbook RSA, . An attacker chooses invertible and sends to a decryption oracle. What plaintext does the oracle return?

  57. Question 57 of 60 Cryptographic constructs and blockchain technology Hard

    A balanced binary Merkle tree contains exactly transaction leaves. Excluding the leaf and root, how large is a standard membership proof if each sibling hash is 32 bytes and the leaf index is supplied separately?

  58. Question 58 of 60 Cryptographic constructs and blockchain technology Hard

    An attacker modifies a transaction in an old proof-of-work block and recomputes that block's Merkle root. Which statement best characterizes the remaining obstacle?

  59. Question 59 of 60 Cryptographic constructs and blockchain technology Hard

    The same signing key is used by two blockchain protocols whose transaction byte strings may overlap semantically. Which design most directly prevents a valid signature from one protocol being replayed as authorization in the other?

  60. Question 60 of 60 Cryptographic constructs and blockchain technology Hard

    In a naive public-key aggregation scheme, an attacker chooses a public key as a function of honest users' public keys so that the aggregate corresponds to a key controlled by the attacker. Which mitigation targets this rogue-key attack?

That's unit 2

Answer a few questions and your score shows up here.