CH-8 Encryption Flashcards
What is Cryptography?
–The practice and study of how to secure communications
–Constructing protocols that prevent unauthorized access –Requires mathematics
How does Single/symmetric key encryption work?
– One secret key used to encrypt and decrypt
– Uses Stream or Block Ciphers
How does Public/asymmetric key encryption work?
– Two keys in a pair; one public and one private
– Public key is shared and used to encrypt – Private key is not shared; required for decryption
What is Key in Cryptography?
Key: Bits that are combined with plain text to encrypt it
What is Cipher tex in Cryptography?
Cipher text: The encrypted text
What is an Algorithm in Cryptography?
Algorithm: A mathematical process for doing something
What is shift cipher?
Caesar Cipher Uses a substitution alphabet Caesar is a mono alphabetic cipher Frequency distribution cracks this simple cipher
What is ATBASH
Reverses letters in the alphabets, so A becomes Z (substitution)
What is Rail Fence?
Writing message on alternating lines, e.g. a zigzag (transposition)
What is Vigenere?
Series of interwoven Caesar ciphers
What is Enigma Encryption?
–Series of rotors, each representing different 26 char substitution ciphers –Rotors on corresponding machines needed to be lined up –Rotors were changed daily based on secret key lists distributed in advance
What is XOR?
XOR is a binary operation. Fun fact! XOR is the only reversible binary operation
How does XOR work?
- First, convert plain text to ASCII 2. Then, convert ASCII to binary. XOR, or “exclusive or” operates on binary data. It returns true if both of its inputs are opposites (one false and one true), otherwise, it returns false. Input Output A B 0 0 0 1 0 1
What is Link Encryption?
Link encryption is an approach to communications security that encrypts and decrypts all network traffic at each network routing point until arrival at its final destination.
What is End to End Encryption?
A technique in which communication traveling along a network is encrypted and decrypted at every stage, or node. It is used to prevent traffic analysis and avoid human error.
Link vs. End to End Encryption

What is Blowfish Algorithm?
■ Created by Bruce Schneier in 1993
■Symmetric block cipher
■Works on “blocks” of letters
■Uses variable length key (32- 448 bits)
■Freeware
What is Data Encryption Standard (DES)?
■Another symmetric key algorithm
■Divided into 64 bit blocks; then transposed (jumbled)
■Manipulated by 16 steps of encryption, using a 56 bit key
■Scrambled by a swapping algorithm
■Transposed one final time
■Limitation is its small key length
■3DES runs the algorithm three times with three different keys
– A good stopgap measure, but resource intensive
What is Advanced Encryption Standard (AES)?
■AES was chosen by NIST to replace DES in 2001
■Block cipher that works on 128 bit blocks
■Supports key sizes of 128, 192, or 256 bits
■Now the most widely used symmetric key algorithm
Why Key Size Matters?

What do you know about Public Key (Asymmetric)?
■One major problem with symmetric key
encryption
–How do you transmit the symmetric key?
–The answer: public key encryption
■One key (public key) used to encrypt
■One key (private key) used to decrypt
■Distribute public key, but only holder of
private key can decrypt those messages
What is Secure Shell (SSH)?
■Secure Shell (SSH) is a cryptographic network protocol
■usually used to securely connect to a remote server or a virtual machine
You would need to have SSH on the virtual server and the machine you are connecting from to run command lines in SSH.
Protects against spoofing attacks and modification of data in
communication
What is SSL and TLS?
■Both are cryptographic network protocols
■Secure Sockets Layer (SSL) was designed in the 1990s to protect communication
between a web browser and server
■In a 1999 upgrade to SSL, it was renamed Transport Layer Security (TLS)
■While the protocol is still commonly called SSL, TLS is the modern, and much more
secure, protocol
■SSL provides:
–Server authentication
–Client authentication (optional)
–Encrypted communication
What is SSL Certificate?
An SSL (Secure Sockets Layer) certificate is a digital certificate that authenticates the identity of a website and encrypts information sent to the server using SSL technology.