Cryptography/Bit of Memory

0.0(0)
studied byStudied by 3 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/18

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

19 Terms

1
New cards

Caesar Cipher

Symmetric encryption technique that shifts the alphabet by a specified # and rewrites the original message with the new alphabet

2
New cards

One-Time Pad

Symmetric Encryption technique that has a different shift for each letter of the message. Only secure for one-time use

3
New cards

Problems of Symmetric Encryption

Requires sharing the key somehow, can be vulnerable to frequency analysis for shifts, only meant for one pair to share messages

4
New cards

Public Key Cryptography

Asymmetric Encryption scheme where messages are encoded by the sender using the receiver’s public key and decoded by the receiver using their private key.

5
New cards

RSA Public Key

(n, e)

6
New cards

RSA n

The product of two unique prime numbers, p and q

7
New cards

RSA e

A number relatively prime to (p-1)(q-1) and <n, (11 is always a safe e value)

8
New cards

RSA d (private key)

Found by taking (1/e)mod (p-1)(q-1)

9
New cards

RSA Encryption

m ^e mod n

10
New cards

RSA Decryption

<encrypted message>^d mod n

11
New cards

PFP/Previous Frame Pointer

Points to previous frame on the stack to return to

12
New cards

Return Address

Points to machine code to return to

13
New cards

Integer Memory size

4 bytes

14
New cards

Char Memory Size

1 byte

15
New cards

Double Memory Size

8 bytes

16
New cards

Pointer Memory Size

8 bytes

17
New cards

Parameter’s Positions on the Stack Frame

Added before the RA and PFP for a new stack frame

18
New cards

Current Frame Pointer

Points at currently active frame, is switched to the PFP once the current frame is done

19
New cards

Direction data writes

Towards high memory addresses