Runnable runnable = new Runnable() {
public void run() {
String streamCipher = VanillaConfiguration.ENCRYPT_STREAM_ALGORITHM.getString();
String streamWrapper = VanillaConfiguration.ENCRYPT_STREAM_WRAPPER.getString();
BufferedBlockCipher fromClientCipher = SecurityHandler.getInstance().getSymmetricCipher(streamCipher, streamWrapper);
BufferedBlockCipher toClientCipher = SecurityHandler.getInstance().getSymmetricCipher(streamCipher, streamWrapper);
CipherParameters symmetricKey = new ParametersWithIV(new KeyParameter(initialVector), initialVector);
fromClientCipher.init(SecurityHandler.DECRYPT_MODE, symmetricKey);
toClientCipher.init(SecurityHandler.ENCRYPT_MODE, symmetricKey);
EncryptionChannelProcessor fromClientProcessor = new EncryptionChannelProcessor(fromClientCipher, 32);
EncryptionChannelProcessor toClientProcessor = new EncryptionChannelProcessor(toClientCipher, 32);
EncryptionKeyResponseMessage response = new EncryptionKeyResponseMessage(false, new byte[0], new byte[0]);