Skip to content
This repository has been archived by the owner on May 8, 2018. It is now read-only.

Commit

Permalink
Use F4 exponent for RSA key generation.
Browse files Browse the repository at this point in the history
(As per Colin Percival's advice in his BSDCan presentation.)
  • Loading branch information
codahale committed May 14, 2010
1 parent 7c843a5 commit d190935
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -44,7 +44,7 @@ public AlgorithmParameterSpec getAlgorithmParameterSpec() {
RSA( "RSA", PublicKeyAlgorithmTags.RSA_GENERAL) {
@Override
public AlgorithmParameterSpec getAlgorithmParameterSpec() {
return new RSAKeyGenParameterSpec(2048, RSAKeyGenParameterSpec.F0);
return new RSAKeyGenParameterSpec(2048, RSAKeyGenParameterSpec.F4);
}},

/**
Expand Down

0 comments on commit d190935

Please sign in to comment.