On Fri, Dec 14, 2012 at 11:15 AM, Matthew Fleming <mgf...@gmail.com> wrote: > > > On Wednesday, December 12, 2012 11:21:10 PM UTC-6, Nikolay Elenkov wrote: >> >> On Thu, Dec 13, 2012 at 11:55 AM, Matthew Fleming <mgf...@gmail.com> >> wrote: >> > I use the following code to encrypt a SecretKey with password-based >> > encryption: >> > >> > Cipher pbeEncryptCipher = Cipher.getInstance("PBEWithMD5AndDES"); >> >> Try Cipher.getInstance("PBEWithMD5AndDES", "BC"); > > > This does not work. Also, I tried specifying several other PBE ciphers, and > ran into the same problem. >
Can you share the stack trace? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en