[Cryptography] Java: The 1990s called, they want their keys back!

Peter Gutmann pgut001 at cs.auckland.ac.nz
Wed Jun 4 03:52:32 EDT 2014


This is for DH keys:

  java.security.InvalidAlgorithmParameterException: Prime size must be
  multiple of 64, and can only range from 512 to 1024 (inclusive)

  java.lang.RuntimeException: Could not generate DH keypair 

I know that you should never attribute to malice what is adequately explained
by stupidity but man, 512-bit keys in 2014 is a lot of stupid.

Peter.


More information about the cryptography mailing list