I have an application almost ready, which relies heavily on Core Data. I was wondering what is the best way to use encryption with core data. I know that CommonCrypto is available for the iPhone, but what would be the best method to use it? I lean towards encrypting the .sqlite file that Core Data uses with AES-128 on application quitting, and decoding it on application Launch. Do you agree that is the best method, or is there a better method?