This discussion is archived
2 Replies Latest reply: Apr 18, 2012 9:40 PM by 931678 RSS

What is isWeak method of DESKeySpec class doing?

931678 Newbie
Currently Being Moderated
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?


  • Correct Answers - 10 points
  • Helpful Answers - 5 points