CS26117 Module 3: Cryptography

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

1/74

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 12:38 PM on 10/1/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

75 Terms

1
New cards

What is cryptography?

A method of protecting information using codes and algorithms

2
New cards

What is encryption?

Transforming plaintext into ciphertext

3
New cards

What is plaintext?

Readable data before encryption

4
New cards

What is ciphertext?

Unreadable data produced by encryption

5
New cards

What is decryption?

Recovering plaintext from ciphertext

6
New cards

What is a cryptographic algorithm?

A computational procedure used to encrypt or decrypt data

7
New cards

What type of cipher is the Caesar Cipher?

Substitution cipher

8
New cards

How does the Caesar Cipher work?

It shifts each letter by a fixed number of alphabet positions

9
New cards

Historically, how many positions did the Caesar Cipher shift letters?

3

10
New cards

What is ROT13?

A Caesar cipher that shifts letters 13 positions

11
New cards

What are cryptographic machines?

Mechanical machines used to encrypt information before computers

12
New cards

How many disks does the Jefferson Disk have?

36

13
New cards

What does the Enigma machine use to indicate encrypted characters?

A set of 26 characters that light up

14
New cards

What is a keyword cipher?

A substitution cipher that uses a key

15
New cards

How does a keyword cipher differ from the Caesar Cipher?

It uses a keyword instead of one fixed alphabet shift

16
New cards

What is another name for a one-time pad?

Vernam Cipher

17
New cards

What is used as the key in a one-time pad?

A completely random set of numbers

18
New cards

How does a one-time pad encrypt a message?

It uses random shifts to move each plaintext letter forward

19
New cards

What are the three main types of cryptographic algorithms?

Symmetric, asymmetric, and hash functions

20
New cards

What does symmetric encryption use?

A single key for encryption and decryption

21
New cards

What is key exchange?

Sharing the symmetric key between sender and receiver

22
New cards

Which are the three symmetric encryption algorithms?

DES, 3DES, and AES

23
New cards

What does DES stand for?

Data Encryption Standard

24
New cards

What block size does the DES encrypt

64 bits

25
New cards

What key size does DES use?

56-bit

26
New cards

Is DES considered secure today?

No, it is considered insecure

27
New cards

What does 3DES do?

Applies DES three times

28
New cards

Which statement about 3DES is correct?

It is slow, outdated, and not secure

29
New cards

What does AES stand for?

Advanced Encryption Standard

30
New cards

Which key sizes does AES use?

128, 192, and 256 bits

31
New cards

What block size does AES use?

128 bits

32
New cards

Which is faster?

AES

33
New cards

What does asymmetric encryption use?

Two keys

34
New cards

What are the two keys used in asymmetric encryption?

Public key and private key

35
New cards

Who can access a public key?

Anyone

36
New cards

Who should guard the private key?

The receiver/key owner

37
New cards

Which are asymmetric encryption algorithms?

RSA and ECC

38
New cards

What does RSA stand for?

Rivest-Shamir-Adleman

39
New cards

What does RSA security rely on?

Difficulty of factoring a large product of primes

40
New cards

What does ECC stand for?

Elliptic Curve Cryptography

41
New cards

What mathematical concept does ECC use?

Elliptic curves over finite fields

42
New cards

What is ECDSA used for?

Creating digital signatures

43
New cards

Which key is used to create an ECDSA digital signature?

Private key

44
New cards

What does ECDH allow two parties to do?

Create a shared key without sending the secret key itself

45
New cards

What are hash functions?

Keyless cryptography

46
New cards

What does a hash function produce?

A fixed-length hash value

47
New cards

What is a hash collision?

When two different inputs produce the same hash

48
New cards

Which of the following is a hash algorithm?

SHA-256

49
New cards

What does MD5 produce?

128-bit hash

50
New cards

Is MD5 considered secure today?

No

51
New cards

What does SHA-1 produce?

160-bit output

52
New cards

Why is SHA-1 deprecated?

It is prone to collision attacks

53
New cards

What is SHA-2 designed to improve?

SHA-1's collision resistance

54
New cards

What does SHA-256 produce?

256-bit hash

55
New cards

Where is SHA-256 widely used?

Digital signatures, blockchain, and certificates

56
New cards

What is a digital signature used for?

To prove a message's origin and that it was not tampered with

57
New cards

Alice digitally signs a document and sends it to Bob.

Which key does Alice use to digitally sign?

Alice's private key

58
New cards

Alice digitally signs a document and sends it to Bob.

Which key does Bob use to verify?

Alice's public key

59
New cards

Which three things can a digital signature establish?

Authenticity, integrity, and nonrepudiation

60
New cards

What does authenticity mean?

The message came from the claimed sender

61
New cards

What does integrity mean?

The document was not changed

62
New cards

What does nonrepudiation mean?

The signer cannot easily deny signing it

63
New cards

What is a digital certificate?

A method of linking a public key to its owner

64
New cards

Who issues digital certificates?

A trusted authority

65
New cards

What does a digital certificate primarily prove?

The identity of the key owner

66
New cards

What is the difference between a digital signature and a digital certificate?

Signature proves integrity; certificate proves key-owner identity

67
New cards

Which key is used to encrypt data in asymmetric encryption?

Public key

68
New cards

Which key is used to decrypt the message in asymmetric encryption?

Private key

69
New cards

Which statement correctly compares symmetric and asymmetric encryption?

Symmetric uses one shared key; asymmetric uses public and private keys

70
New cards

Which algorithm is three rounds of DES?

3DES

71
New cards

Which algorithm uses 128-, 192-, and 256-bit keys?

AES

72
New cards

Which algorithm is based on the difficulty of factoring large numbers?

RSA

73
New cards

Which algorithm allows two parties to establish a shared key?

ECDH

74
New cards

Which algorithm is used to digitally sign data with a private key?

ECDSA

75
New cards

Which of the following is NOT one of the three main cryptographic algorithm types?

Mechanical encryption