Problem: decrypt the cipher. Tool: crytool cipher: '1834e1b2170c2ac5212677e3ae48ed42c32810400afca21defab111bc7' which encrypted by 4-characters password How RC4 works? RC4 is a stream cipher and variable length key algorithm. Plaintext does XOR with key stream to get the cipher, so that the key stream has the same length as the plaintext. So how to get the key stream? First, initial array: Initial state vector S, s[0..255]. A key which is a password, like 'KEY', it should repeat many times to fill T with size 256. T[K,E,Y,K,E,Y,...]. Initial permuted vector S, s[0..255] . Second, do calculate and swap to get a new Permuted vector S. Every element should be produced with the previous one. Third, get the key stream with as the same length as plaintext. It also contains some calculation and swap. Last, make plaintext and key stream do XOR to get the cipher. Crack RC4 with brute force: It should be a forward-direction which means w...