Chp 1 Flashcards
What is encryption?
Changing plaintext to ciphertext.
What is decryption?
The process of changing ciphertext to plaintext.
Mono-alphabetic
single mapping from our alphabet to a cipher alphabet.
Polyalphabetic
Mapping our alphabet to several cipher alphabets.
One-time Pad
Considered ubreakable because it only uses cipher code once.
Psuedo-Random Number Generators (PRNG)
Repeats the random numbers after a given time (periodic). Fast and deterministic.
True Random Number Generators
Generates a true random number and uses some form of a random process. Non-deterministic and aperiodic.
Frequency Analysis
Cipher cracking method that IDs patterns and variations in the probability of codes.
Entropy
Measures the level of unpredictability.
ASCII
Encoding method that has 8-bit values and up to 256 characters.
UTF-16
Encoding method that has 16-bit values and up to 65,536 characters.
Is hardware or software encryption more efficient?
Hardware encryption.
Hardware Security Module (HSM)
Tamper-evident and intrusion-resistant physical device that safeguards and manages cryptographic keys and provides cryptographic processing.
Trusted Platform Module (TPM)
A dedicated processor that handles hardware-level encryption and contains encryption keys. Enables FDE.
Binary Math
Knowing what combination of binary digits will produce a binary “1”.
Binary ‘AND’
The first and second numbers you are ‘ANDing’ must be 1 for the answer to be 1. Anything else = 0.
Binary ‘OR’
If either or both numbers are “1”, the answer is “1”.
Binary ‘XOR’ (exclusive or)
One, but not both, numbers are “1” then the answer is “1”. Anything else is a “0”.
Modulus Operator Math
Divide the first number by the second and return the remainder. Example: 5 mod 2 = 1
Combination vs Permutation
combinations = not concerned with the order / permutations = all options considered, including sequence.
Probability
The likelihood of an event happening.
Prime Number
Can only be divided by 1 and itself.
Pigpen Cipher
mono-alphabetic substitution cipher that maps plaintext to graphical characters.
Rail Code
Scrambles text by writing it in a sequence across several rails.