CMPE 132: Information Security - Cryptographic Tools

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/34

flashcard set

Earn XP

Description and Tags

Vocabulary practice flashcards covering classical ciphers, symmetric encryption fundamentals, Feistel networks, DES, 3DES, AES round transformations, stream ciphers (RC4, ChaCha20), block cipher operational modes (ECB, CBC, CFB, OFB, CTR, GCM), cryptanalytic attack models, and key distribution.

Last updated 12:44 AM on 10/8/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

35 Terms

1
New cards

Encryption

The process of encoding a message in such a way that only authorized parties can read the content of the original message, with historical records dating back to 1900 BC1900\text{ BC}.

2
New cards

Secret-Key Encryption

An encryption scheme where the sender and receiver share and use the exact same key for both encryption and decryption; also referred to as conventional or single-key encryption.

3
New cards

Public-Key Encryption

An encryption scheme that uses two mathematically related but distinct keys: one public key for encryption and one private key for decryption.

4
New cards

Caesar Cipher

A classic monoalphabetic substitution cipher in which each letter in the plaintext is shifted and replaced by the letter located 33 places down in the alphabet (e.g., A→D\text{A} \rightarrow \text{D}, B→E\text{B} \rightarrow \text{E}).

5
New cards

Transposition Cipher

A cryptographic method based on permutation, wherein the characters of the plaintext are rearranged into a different order based on a numerical key rather than being substituted with other characters.

6
New cards
<p>Symmetric Encryption Model</p>

Symmetric Encryption Model

A simplified framework consisting of a plaintext input XX, a shared secret key KK, an encryption algorithm Y=E[K,X]Y = \text{E}[K, X], transmitted ciphertext YY, and a decryption algorithm X=D[K,Y]X = \text{D}[K, Y] to recover the original plaintext.

7
New cards

Cryptanalytic Attack

An attack that relies on the nature of the cryptographic algorithm, knowledge of plaintext characteristics, and sample plaintext-ciphertext pairs to deduce a specific plaintext or recover the secret key.

8
New cards

Brute-Force Attack

An attack that systematically tries all possible keys on ciphertext until an intelligible plaintext translation is produced, requiring an average search of half the entire key space (2k−12^{k-1} attempts for a kk-bit key).

9
New cards

Ciphertext-Only Attack

A cryptanalytic scenario where the adversary has access only to the encryption algorithm and the intercepted ciphertext to be decoded.

10
New cards

Known-Plaintext Attack

A cryptanalytic attack where the cryptanalyst knows the encryption algorithm, the target ciphertext, and one or more plaintext-ciphertext pairs generated using the same secret key.

11
New cards

Chosen-Plaintext Attack

A cryptanalytic scenario where the attacker can select arbitrary plaintext messages and observe their corresponding ciphertexts generated with the secret key.

12
New cards

Chosen-Ciphertext Attack

A cryptanalytic scenario where the attacker chooses arbitrary ciphertext strings and obtains their corresponding decrypted plaintexts generated with the secret key.

13
New cards

Chosen-Text Attack

A cryptanalytic scenario where the attacker has access to the encryption algorithm, the ciphertext, chosen plaintext messages with their resulting ciphertexts, and chosen ciphertexts with their resulting decrypted plaintexts.

14
New cards

Computationally Secure Encryption

A cipher design where the financial or computational cost of breaking the cipher exceeds the value of the protected information, or the time required to break it exceeds the useful lifetime of the information.

15
New cards

Block Cipher

A symmetric cipher that takes a fixed-size block of plaintext bits (e.g., 6464 or 128128 bits) and transforms it into a ciphertext block of identical size using the same shared key.

16
New cards

Stream Cipher

A symmetric cipher that continuously processes input elements (typically byte-by-byte or bit-by-bit) by XORing the plaintext with a pseudorandom keystream generated from an input key.

17
New cards
<p>Feistel Network</p>

Feistel Network

A classic block cipher structure that splits a 2w2w-bit plaintext block into two ww-bit halves (LL and RR), passes the right half through a round function FF controlled by a round subkey KiK_i, XORs the result with the left half, and swaps the halves across successive rounds.

18
New cards

Data Encryption Standard (DES)

A block cipher developed by IBM and the NSA, adopted in 1977 as FIPS 46, that utilizes a 6464-bit block size, a 5656-bit key, and 1616 Feistel rounds; withdrawn by NIST in 2005 due to vulnerability to brute-force attacks.

19
New cards
<p>Triple DES (3DES)</p>

Triple DES (3DES)

A symmetric cipher that applies the standard DES algorithm three consecutive times in an Encrypt-Decrypt-Encrypt (EDE) sequence using two or three keys, providing an effective key strength of 112112 bits against meet-in-the-middle attacks.

20
New cards

Advanced Encryption Standard (AES)

A NIST-standardized symmetric block cipher published as FIPS 197 in 2001 (based on the Rijndael algorithm) that processes 128128-bit blocks using key sizes of 128128 bits (1010 rounds), 192192 bits (1212 rounds), or 256256 bits (1414 rounds).

21
New cards

SubBytes

The non-linear byte substitution step in an AES round where each byte of the 4×44 \times 4 state array is independently replaced with another byte using a predefined substitution table known as the S-box.

22
New cards

ShiftRows

The transposition step in an AES round where the bytes in the last three rows of the 4×44 \times 4 state array are cyclically rotated to the left by 11, 22, and 33 byte positions, respectively, to diffuse bytes across columns.

23
New cards

MixColumns

The diffusion step in an AES round where each column of the state array is multiplied by a fixed matrix over a finite field, ensuring every output byte depends on all four input bytes of that column.

24
New cards
<p>AddRoundKey</p>

AddRoundKey

The key addition step in an AES round where the 128128-bit state array is bitwise XORed with a round subkey generated from the master key schedule.

25
New cards

AES-NI

A dedicated hardware instruction set integrated into Intel, AMD, and modern ARM processors that accelerates AES encryption and decryption operations with near-zero CPU overhead.

26
New cards

RC4

A byte-oriented variable-key-size stream cipher designed by Ron Rivest in 1987 consisting of a Key Scheduling Algorithm (KSA) and a Pseudo-Random Generation Algorithm (PRGA); banned in TLS by RFC 7465 due to keystream biases.

27
New cards

ChaCha20

A modern 20-round stream cipher designed by Daniel J. Bernstein in 2008 that employs Add-Rotate-XOR (ARX) operations on a 4×44 \times 4 state matrix of 3232-bit words with a 256256-bit key and a 9696-bit nonce.

28
New cards
<p>ChaCha20 State Matrix</p>

ChaCha20 State Matrix

The initial 4×44 \times 4 internal array of sixteen 3232-bit words consisting of four fixed constant words ("expa", "nd 3", "2-by", "te k"), eight key words, one counter word, and three nonce words.

29
New cards
<p>Electronic Codebook (ECB) Mode</p>

Electronic Codebook (ECB) Mode

A block cipher mode of operation where each block of plaintext is encrypted independently using the same key; prone to pattern leakage because identical plaintext blocks always produce identical ciphertext blocks.

30
New cards
<p>Cipher Block Chaining (CBC) Mode</p>

Cipher Block Chaining (CBC) Mode

A block cipher mode where each plaintext block is XORed with the preceding ciphertext block (or an Initialization Vector for the first block) prior to encryption; encryption is strictly sequential, while decryption can be parallelized.

31
New cards
<p>Cipher Feedback (CFB) Mode</p>

Cipher Feedback (CFB) Mode

A mode of operation that turns a block cipher into a stream cipher by encrypting preceding ciphertext blocks to produce pseudorandom output that is then XORed with plaintext; allows decryption to be parallelized.

32
New cards
<p>Output Feedback (OFB) Mode</p>

Output Feedback (OFB) Mode

A stream-like mode of operation where the preceding pseudorandom output of the block encryption algorithm is fed back as the input to the next encryption step; prevents bit errors from propagating across blocks on noisy channels.

33
New cards
<p>Counter (CTR) Mode</p>

Counter (CTR) Mode

A block cipher mode where a counter value prepended with a unique nonce is encrypted and XORed with each plaintext block; allows both encryption and decryption to be fully parallelized without requiring padding.

34
New cards

Galois/Counter Mode (GCM)

An Authenticated Encryption with Associated Data (AEAD) mode that pairs Counter (CTR) mode confidentiality with Galois field polynomial multiplication (GHASH) to generate an authentication tag.

35
New cards
<p>Key Distribution Center (KDC)</p>

Key Distribution Center (KDC)

A trusted network entity that shares a distinct master key with each host and dynamically issues secret session keys when two hosts request a secure connection.