keyExchange = new DHKeyExchange();
String publicKey = keyExchange.getPublicKey(pubKey);
sendEncrypt(this, publicKey);
Logger.info(this, getNick() + " initiated an "
+ "encrypted connection.");
crypto = new Crypto(keyExchange.getSecretKey());
encrypt = true;
sendEncryptInfo(this);
} else if (line.toUpperCase().equals("ENCRYPT")) {
sendError("You have to provide your public key "
+ "as argument!", this);