### Defeating Rainbow Tables If two users choose the same password ('hunter2'), their unsalted SHA-256 hashes will be identical. An attacker with a precomputed lookup table (rainbow table) can crack millions of passwords instantly.
**Salting** appends a unique random string (the salt) to each password before hashing: $$H(\text{password} + \text{salt})$$ Even identical passwords produce completely different hash strings!
Python 3.11
•
Interactive Challenge
+75 XP
Challenge Objective
Combine the salt and password and print 'SALTED_LENGTH:15'.
solution.py
UTF-84 SpacesAuto-saved
cpython3.11:~/workspace
CPython 3.11.8 (WASM)
$python3 -u solution.py
Click "Compile & Run" (or press Ctrl + Enter) to compile AST, verify bytecode, and execute the solution.