_log.info("Loaded " + DEFAULT_CRYPT.getClass().getSimpleName() + " as default crypt.");
_hackProtection = new FastMap<InetAddress, FailedLoginAttempt>().setShared(true);
_keyPairs = new ScrambledKeyPair[Config.LOGIN_RSA_KEYPAIRS];
KeyPairGenerator keygen;
keygen = KeyPairGenerator.getInstance("RSA");
RSAKeyGenParameterSpec spec = new RSAKeyGenParameterSpec(1024, RSAKeyGenParameterSpec.F4);
keygen.initialize(spec);
//generate the initial set of keys
for(int i = 0; i < _keyPairs.length; i++)
{
_keyPairs[i] = new ScrambledKeyPair(keygen.generateKeyPair());