Search code examples
androidcryptographyblowfishencryption

Using blowfish encryption with Android?


I'm trying to use a blowfish cipher inside an Android application.
It appears that the Android platform supports blowfish (it appears to be in the source code), but when I try to get a cipher using:

Cipher.getInstance("blowfish"); 

I get a "java.security.NoSuchAlgorithmException"

Solution

  • Based on a quick Google search, try a capital B in "Blowfish", and see if that helps.