Thank you for your review.
Regarding the password puzzle: it looks perfectly logic to me. In the end, it's about the difference between encryption and decryption. If you got any questions, feel free to ask. (ek)