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

    What is isWeak method of DESKeySpec class doing?

    user13132964
      [Question.1]
      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?

      [Question.2]
      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?