When generating cryptographic keys (or key pairs), it is important to use strong parameters. Key length, for instance, should provides enough entropy against brute-force attacks.
* For <code>RSA</code> and <code>DSA</code> algorithms key size should be at least 2048 bits long
* For <code>ECC</code> (elliptic curve cryptography) algorithms key size should be at least 224 bits long
* For <code>RSA</code> public key exponent should be at least 65537.
This rule raises an issue when an <code>RSA</code>, <code>DSA</code> or <code>ECC</code> key-pair generator is initialized using weak parameters.