How to fix a black screen (bricked) after rooting an encrypted device Phone: Samsung Galaxy S3 (GT-I9300)

Per work policy to add an exchange account I had to encrypt my phone. After doing so, I needed to root it to create a swap partition as it was constantly running out of RAM. I did what I had done in the past which was to flash CF-Auto-Root with Odin3. After the process finished, the phone restarted and I was shown the usual screen for entering the PIN/Password, so I did and it accepted it showing the unlocked Android icon, but instead of booting to the OS, it froze on a black screen. I have tried flashing the stock firmware, which has had no effect. I have managed to flash the ClockworkMod Recovery, but since everything's encrypted I could not get access to any data.

Does anyone have any ideas?

Thanks in advance,
I ended up flashing the Stock ROM (using sammobile.com) back again and using the Stock Recovery to do a factory reset as the Team Win Recovery format didn't do anything.
That did the trick, but of course all data is gone too. Oh well.