Android SecretKeyFactory problems. Implementation not found?

It might just not be a supported algorithm or that naming of it on Android.

Have you looked around the javax.crypto classes? https://developer.android.com/reference/javax/crypto/EncryptedPrivateKeyInfo.html

Here is an example using a different algorithm if that helps. http://www.anddev.org/viewtopic.php?p=11737

btw, add a "from-irc" tag to this post to get a google response. http://android-developers.blogspot.com/2010/01/irc-offce-hours-update.html


This means the android SDK doesn't have implementation for this algorithm. You have two options:

  • switch to another, supported algorithm (I can't find a reference, so try them manually)
  • provide your own algorithm implementation

Is there any 3rd parts implementation that can be used on Android? Firefox Sync for example is using PBKDF2WithHmacSHA1, so for me switching to another algorithm is no option, since that is what I'm trying to decrypt.