Cryptography and Hashing

Cryptography and Hashing Quiz

15 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

What is the process of converting plaintext into ciphertext called?

  1. Encryption
  2. Decryption
  3. Hashing
  4. Encoding
Question 2 Multiple Choice (Single Answer)

What is the process of converting ciphertext back into plaintext called?

  1. Encryption
  2. Decryption
  3. Hashing
  4. Decoding
Question 3 Multiple Choice (Single Answer)

What is a cryptographic hash function?

  1. A function that takes an input of any size and produces an output of a fixed size
  2. A function that takes an input of a fixed size and produces an output of any size
  3. A function that takes an input of any size and produces an output of the same size
  4. A function that takes an input of a fixed size and produces an output of the same size
Question 4 Multiple Choice (Single Answer)

What is the purpose of a cryptographic hash function?

  1. To ensure the integrity of data
  2. To provide confidentiality for data
  3. To provide authentication for data
  4. To provide non-repudiation for data
Question 5 Multiple Choice (Single Answer)

Which of the following is a common cryptographic hash function?

  1. MD5
  2. SHA-1
  3. SHA-256
  4. SHA-512
Question 6 Multiple Choice (Single Answer)

What is the difference between symmetric and asymmetric cryptography?

  1. Symmetric cryptography uses the same key for encryption and decryption, while asymmetric cryptography uses different keys for encryption and decryption.
  2. Symmetric cryptography uses different keys for encryption and decryption, while asymmetric cryptography uses the same key for encryption and decryption.
  3. Symmetric cryptography is more secure than asymmetric cryptography.
  4. Asymmetric cryptography is more secure than symmetric cryptography.
Question 7 Multiple Choice (Single Answer)

Which of the following is a common symmetric cryptography algorithm?

  1. AES
  2. DES
  3. RSA
  4. ECC
Question 8 Multiple Choice (Single Answer)

Which of the following is a common asymmetric cryptography algorithm?

  1. AES
  2. DES
  3. RSA
  4. ECC
Question 9 Multiple Choice (Single Answer)

What is a digital signature?

  1. A unique identifier for a digital document
  2. A mathematical algorithm used to encrypt data
  3. A method for verifying the integrity of a digital document
  4. A way to securely transmit data over a network
Question 10 Multiple Choice (Single Answer)

What is a certificate authority (CA)?

  1. An organization that issues digital certificates
  2. A government agency that regulates the use of cryptography
  3. A company that provides encryption services
  4. A non-profit organization that promotes the use of cryptography
Question 11 Multiple Choice (Single Answer)

What is the purpose of a public key infrastructure (PKI)?

  1. To provide a secure way to exchange keys between parties
  2. To provide a way to verify the identity of a website or an individual
  3. To provide a way to encrypt and decrypt data
  4. To provide a way to generate digital signatures
Question 12 Multiple Choice (Single Answer)

What is the difference between a block cipher and a stream cipher?

  1. A block cipher encrypts data in blocks of a fixed size, while a stream cipher encrypts data in a continuous stream.
  2. A block cipher encrypts data in a continuous stream, while a stream cipher encrypts data in blocks of a fixed size.
  3. A block cipher is more secure than a stream cipher.
  4. A stream cipher is more secure than a block cipher.
Question 13 Multiple Choice (Single Answer)

Which of the following is a common block cipher algorithm?

  1. AES
  2. DES
  3. RSA
  4. ECC
Question 14 Multiple Choice (Single Answer)

Which of the following is a common stream cipher algorithm?

  1. AES
  2. DES
  3. RC4
  4. Salsa20
Question 15 Multiple Choice (Single Answer)

What is the difference between a one-way hash function and a cryptographic hash function?

  1. A one-way hash function is irreversible, while a cryptographic hash function is reversible.
  2. A one-way hash function is reversible, while a cryptographic hash function is irreversible.
  3. A one-way hash function is more secure than a cryptographic hash function.
  4. A cryptographic hash function is more secure than a one-way hash function.