2 Replies Latest reply on Apr 19, 2012 4:40 AM by user13132964

    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?