Does iTunes iPhone Restore wipe the encryption key and securely wipe your data?
Yes, as long as the iPhone is returned back to non-activated state, all contents are erased with no trace. The iPhone is returned back to non-activated state during both "Erase all Contents and Settings" and iTunes set up as new iPhone.