pwds.remove(getNick());
savePwds();
sendDeregistered(this);
} else if (line.toUpperCase().startsWith("ENCRYPT ")) {
String pubKey = line.substring("ENCRYPT ".length());
keyExchange = new DHKeyExchange();
String publicKey = keyExchange.getPublicKey(pubKey);
sendEncrypt(this, publicKey);
Logger.info(this, getNick() + " initiated an "
+ "encrypted connection.");
crypto = new Crypto(keyExchange.getSecretKey());