Obfuscation 6.2 Flashcards
Obfuscation
The process of making something unclear. It’s harder to read, but not impossible if you know how to read it. It can make source code difficult to read but it doesn’t change the functionality of the code. If you hide information inside an image, its called Steganography.
Excluseive OR (XOR) Cipher
Used extensively in cryptography. Output is true, when inputs differ.
Substitution Cipher
Replaces a message with a ciphertext. You substitute a plaintext character with a different character according to the ciphertext alphabet.
A = Z, B = R, C = U
Caesar Cipher
Every letter is substituted with another letter at a fixed position.
You shift your alphabet over a number of letters.
If A = C, then B = D and so on.
ROT13 - Rotate by 13 Places
A standard form of the Caesar Cipher. Commonly seen in online forums if someone doesn’t want to spoil something for others.
HELLO = URYYB
Rotate the alphabet by 13 letters.