I have always formated first, rebooted and then flashed rom. A wipe just deletes everything in the partition, so if it's encrypted and it opens it up without decrypting, all it does is delete the encrypted contents, a format deletes the partition and makes a new one, which is what is necessary...