Just don't add the code pehonix suggested. It complete obliterates the functionality of $md5, and there is no reason to create a file of encrypted/unencrypted combos. Not unless you have malicious intent anyway.