Hi, Indeed, you can convert any data to byte arrays. You should then use the method(s)
Cipher.doFinal(...) to perform encryption, as well as decryption operations. Best, Quentin On 26/09/2011 19:44, perumal316 wrote : > How do I encrypt files like pictures or videos? > > I have only tried bouncycastle to encrypt string so far. Not sure how > to do for other files, convert to bytearray? > > Thanks In Advance, > Perumal -- You received this message because you are subscribed to the Google Groups "Android Security Discussions" group. To post to this group, send email to android-security-discuss@googlegroups.com. To unsubscribe from this group, send email to android-security-discuss+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/android-security-discuss?hl=en.