I have written my content provider class and a wrapper class to access the content provider. It is similar to settings database content provider in froyo code. I am using the example in following link for encryption/decryption.
http://www.tutorials-android.com/learn/How_to_encrypt_and_decrypt_strings.rhtml Here I need to pass the seed value. Now I am hard coding this seed value. But I want it to be securely saved. I cannot save it in a raw folder as i don't get the application context in wrapper class to read the value. So please suggest me how to generate this seed value and securely save it. Thanks and regards, Rashmi On Apr 6, 2:31 pm, Marcin Orlowski <[email protected]> wrote: > On 6 April 2011 07:16, rashmi <[email protected]> wrote: > > > I want to encrypt the data before insertion through content provider > > and decrypt while reading the data. So that encrypted data will be > > saved in database. Please provide me the information > > Here you go:http://developer.android.com/reference/javax/crypto/Cipher.html > > Regards, > Marcin Orlowski > > *Tray Agenda <http://bit.ly/trayagenda>* - keep you daily schedule handy... > WebnetMobile on *Facebook <http://webnetmobile.com/fb/>* and > *Twitter<http://webnetmobile.com/twitter/> > * -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

