2 Replies Latest reply: Apr 18, 2012 11:40 PM by user13132964 RSS

    What is isWeak method of DESKeySpec class doing?

      According to JavaDoc, isWeak method of DESKeySpec is checking if the given DES key material is weak or semi-weak.
      What is the method checking concretely?
      What do weak and semi-weak mean?

      I want to do the same check for AES key, but there isn't AESKeySpec class like DESKeySpec.
      Are there any ways to implement the check without isWeak method?