1 Reply Latest reply: Feb 2, 2012 8:12 AM by gimbal2 RSS

    NoSuchAlgorithmException for PBEWithHmacSHA1AndDESede

      HI Guys

      I'm having some issues with loading this cipher with this algorithm.

      public class ProviderCheck {

           public static void main(String []args){

      try {
                     Cipher cipher = Cipher.getInstance("PBEWithHmacSHA1AndDESede");

                } catch (NoSuchAlgorithmException e) {
                     // TODO Auto-generated catch block
                } catch (NoSuchPaddingException e) {
                     // TODO Auto-generated catch block


      keep getting
      java.security.NoSuchAlgorithmException: Cannot find any provider supporting PBEWithHmacSHA1AndDESede
           at javax.crypto.Cipher.getInstance(DashoA13*..)
           at ProviderCheck.main(ProviderCheck.java:24)

      any idea , I'm using a jdk1.6.0_27