代码之家  ›  专栏  ›  技术社区  ›  haseman

在Android上使用blowfish加密?

  •  1
  • haseman  · 技术社区  · 14 年前

    我正在尝试在Android应用程序中使用一个blowfish密码。
    Android平台似乎支持blowfish(似乎在源代码中),但当我尝试使用以下方法获取密码时:

    Cipher.getInstance("blowfish"); 
    
    I get a "java.security.NoSuchAlgorithmException"
    
    1 回复  |  直到 14 年前
        1
  •  3
  •   CommonsWare    14 年前

    在谷歌快速搜索的基础上,试试大写字母 B 在里面 "Blowfish" ,看看是否有帮助。