Docsity

Network Security & Cryptography Exam Q&A: Key Concepts Review, Exams of Cybersecurity

Toggle sidebar
bg1
Network Security & Cryptography Midterm Exam - Q&A
Which choice is NOT one of the three roles of Cryptography? โœ” Ans -
Cryptography is a security system to backup data
What popular programing function is used for Modulo 2? โœ” Ans - The
exclusive-or (XOR) you find in programming languages.
NOT All block cipher modes leak some information โœ” Ans - False
There are several sources of trust, which selection below is NOT. โœ” Ans -
Email
What is 7 + 2 (Mod 7)? โœ” Ans - 2
Counter mode, generally known by the three-letter abbreviation CTR, is
another block cipher encryption mode as well as stream cipher mode. โœ” Ans
- True
SET is a protocol for _____. โœ” Ans - Online Shopping
The simplest method to encrypt a longer plaintext is known as the ______ .
โœ” Ans - ECB Electronic codebook mode
SHA-1 and SHA-2 are the secure hash algorithms required by law for use in
certain ____ โœ” Ans - US Government applications
MD5 has been utilized in a wide variety of cryptographic applications, and is
also commonly used to verify _____ โœ” Ans - Data integrity
Which choice is NOT one of the three functions the authors use when
generating RSA keys in regards to signatures? โœ” Ans - It uses bilinear
system threading
The best way to have confidence in building something secure is to keep it
simple. โœ” Ans - True
pf3
pf4
pf5

Partial preview of the text

Download Network Security & Cryptography Exam Q&A: Key Concepts Review and more Exams Cybersecurity in PDF only on Docsity!

Network Security & Cryptography Midterm Exam - Q&A

Which choice is NOT one of the three roles of Cryptography? โœ” Ans - Cryptography is a security system to backup data What popular programing function is used for Modulo 2? โœ” Ans - The exclusive-or (XOR) you find in programming languages. NOT All block cipher modes leak some information โœ” Ans - False There are several sources of trust, which selection below is NOT. โœ” Ans - Email What is 7 + 2 (Mod 7)? โœ” Ans - 2 Counter mode, generally known by the three-letter abbreviation CTR, is another block cipher encryption mode as well as stream cipher mode. โœ” Ans

  • True SET is a protocol for _____. โœ” Ans - Online Shopping The simplest method to encrypt a longer plaintext is known as the ______. โœ” Ans - ECB Electronic codebook mode SHA-1 and SHA-2 are the secure hash algorithms required by law for use in certain ____ โœ” Ans - US Government applications MD5 has been utilized in a wide variety of cryptographic applications, and is also commonly used to verify _____ โœ” Ans - Data integrity Which choice is NOT one of the three functions the authors use when generating RSA keys in regards to signatures? โœ” Ans - It uses bilinear system threading The best way to have confidence in building something secure is to keep it simple. โœ” Ans - True

Virtually all block ciphers consist of several repetitions of a weak block cipher, known as a ____ โœ” Ans - Round The process of encoding messages or information in such a way that only authorized parties can read it is called ____________. โœ” Ans - Encryption The primary use of padding with classical ciphers is to prevent _____ โœ” Ans

  • The cryptanalyst from using that predictability to find Cryptanalysis that aid in breaking the encryption This attack occurs when the attacker records a message and then later resends that same message โœ” Ans - Replay A PKI (Public Key Infrastructure) is an arrangement that binds public keys with respective user identities by means of a ____________. โœ” Ans - Certificate Authority CA The first algorithm we show is the initialization of the channel data. What are the two main functions? โœ” Ans - Setting up the keys and the message numbers Message numbers are vital for various reasons, which choice below is โœ” Ans
  • They provide a source for IVs for the encryption algorithm Which message authentication code (MAC) do the authors suggest to use? โœ” Ans - HMAC-SHA- This layer is the encoding layer where each data element of the message has to be converted to a sequence of bytes. โœ” Ans - Message encoding and parsing What is 32 (Mod 5)? โœ” Ans - 2 What is one of the great advantages of RSA? โœ” Ans - It can be used for both encrypting messages and signing messages Complexity is the main enemy of security. Therefore, any security design should strive for simplicity. โœ” Ans - True

An example of a generic attack is ________. โœ” Ans - The analog hole for digital rights management (DRM) systems Which of the following is NOT one of the three practical rules for setting up a subgroup? โœ” Ans - Find a (much) smaller prime p such that p=Nq+ This layer contains all the information necessary to complete the protocol. โœ” Ans - Protocol execution states What is the formula equation for Garner's formula? โœ” Ans - x = (((a -b)(q- 1 mod p)) mod p) x q +b The dedicated privacy-and-authenticity block cipher modes take a single key as input, just like CBC mode and CBC-MAC. โœ” Ans - True To find weaknesses in your own work you must ________. โœ” Ans - Think like a malicious attacker A class of cryptographic algorithms which requires two separate keys, one of which is secret (or private) and one of which is public is called? โœ” Ans - Public key encryption A cryptosystem should be secure even if everything about the system, except the key, is ___________. โœ” Ans - Public What organiztion recently standardized a new MAC, called GMAC, that is very efficient in hardware and software. โœ” Ans - NIST Complexity is the worst enemy of security. โœ” Ans - True When Alice takes part in a protocol, she assumes that all other participants are conspiring together to cheat her. This is really the ultimate conspiracy theorywhere each of the other participants is making the same assumption. This is the default model in which all cryptographic protocols are designed. Any deviations from this default model must be explicitly documented. This is an example of a model commonly referred to as the _________ model. โœ” Ans - Paranoia

A message authentication code, or MAC, is a construction that detects tampering with messages โœ” Ans - True When designing the message order the ensures that the message numbers of the messages it accepts are strictly __________. โœ” Ans - Increasing Hash functions typical output sizes are 128-1024 bits โœ” Ans - True For cryptographers, the ________ layer is the underlying communication system that allows parties to communicate. โœ” Ans - Transport What is the basic method of generating a prime? โœ” Ans - Take a random number and check whether it is prime Which of the following is NOT are the four properties of a Secure Channel? โœ” Ans - Wooping What are two weaknesses of hash functions? โœ” Ans - Length extensions and partial message collisions When examining Security vs Features, what is the worst enemy? โœ” Ans - Complexity According to the book, what is a Prime number? โœ” Ans - A prime number has exactly two positive divisors, namely 1 and itself Most computers have secure places to store a key. โœ” Ans - False Which choice below identifies the two types of secrets we have in a secure channel? โœ” Ans - The keys and the data ____________ are a mathematical scheme for demonstrating the authenticity of a digital message or document. โœ” Ans - Digital signatures The Advanced Encryption Standard (AES) is the U.S. government standard created to replace _______ โœ” Ans - DES

A main difference between Diffie-Hellman and RSA is _______. โœ” Ans - RSA is based on a one way trapdoor function Implementation errors such as buffer overflows are one of the biggest security problems in real-world systems. โœ” Ans - True The message number is used as the unique nonce value that CTR mode needs. โœ” Ans - True Data Encryption Standard (DES) has finally outlived its usefulness. โœ” Ans - True Use an Alice and Bob example to explain "Basic DH". Alice chooses a random x Zp, which is the same as choosing a random number in 1,...,p-1. She computes gx mod p and sends the result to Bob. Bob in turns chooses a random y in Zp. He computes gy. Alice can compute this by raising the gy she got from Bob to the power x that she knows. (gy)x=gxy.) Similarly, Bob can compute k as (gx)y. They both end up with the same value k, which they can use as a secret key โœ” Ans - True The RSA system is defined by randomly choosing what? โœ” Ans - two different large primes p and q, and compute n = pq This type of attack is one in which you know both the plaintext and the ciphertext. โœ” Ans - Known plaintext attack What is meant in Chapter 11 as a "man-in-the-middle"? โœ” Ans - The attacker can sit in the middle of the protocol and pretend to be Bob when speaking to Alice, and pretend to be Alice when speaking to Bob List the Prime numbers between 50 and 100. โœ” Ans - 53 | 59 | 61 | 67 | 71 | 73 | 79 | 83 | 89 | 97