On Tue, Jan 8, 2013 at 9:40 PM, David Asta <[email protected]> wrote:
> Hmm, interesting; using SecretKeyFactory keyFactory = SecretKeyFactory
> .getInstance("PBKDF2WithHmacSHA1"); (taken from
> http://nelenkov.blogspot.jp/2012/04/using-password-based-encryption-on.html)
> gives and exception NoSuchAlgorithmException on Android 2.2, but not on 4.2.
> So I guess I cannot use this, as my HTC Desire runs 2.2.2.

Use the Crypto.listAlgorithms() method to dump supported algorithms to logcat.
It probably supports PBEWITHSHA256AND256BITAES-CBC-BC, which you can
also use although it is not exactly standard.

-- 
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

Reply via email to