Data protection is a feature available for iOS 4 devices that offer hardware encryption: iPhone 4, iPhone 3GS, iPod touch (3rd generation or later), and all iPad models. This article outlines how to enable and verify data protection.
http://support.apple.com/kb/HT4175
Hope this helps