Week 1: Security Rules Flashcards
What is a bit?
Basic bit of information: 0 or 1
What is a nibble?
Half a byte (4 bits)
What is a hexadecimal value?
base 16 value (0-9, A-F)
What are the 7 layers of the OSI model?
Layer 1: Physical Layer Layer 2: Data Link Layer Layer 3: Network Layer Layer 4: Transport Layer Layer 5: Session Layer Layer 6: Presentation Layer Layer 7: Application Layer
OSI: What is the Physical Layer?
- 1st and lowest layer
- transmits raw bits
- converts electrical bits to electrical, radio or optical signals
- ie. wiring
OSI: What is the Data Link Layer?
- 2nd layer
- node to node data transfer
- everything with MAC address
- ie. switch
OSI: What is the Network Layer?
- 3rd layer
- routes data packets
- everything with router and IP address
- ie. router, TCP
OSI: What is the Transport Layer?
- 4th layer
- how much information is communicated
OSI: What is the Application Layer?
- 7th and most top layer
- application being used to send/receive information
- ie. browser
OSI: What is the Presentation Layer?
- 6th layer
- ie. Operating system with firewall
OSI: What is the Session Layer?
- 5th layer
- creates session between your computer and another computer/server
What are the two security rules?
- Don’t roll your own.
2. Kerckhoff’s Principle - secrecy of message should not depend on secrecy of algorithm
How does the Caesar Cipher work?
Gen() - number key
Enc() - shift all letters forward by number key
Dec() - shift all letters backward by number key
How does the Vigenere Cipher work?
Gen() - word key
Enc() - write out repeated word key underneath message and combine char values to create cipher text
Dec() - subtract word key repeatedly from ciphertext