private byte[] decryptSimple(byte[] data, TorPrivateKey privateKey) {
try {
cipher.init(Cipher.DECRYPT_MODE, privateKey.getRSAPrivateKey());
return cipher.doFinal(data);
} catch (InvalidKeyException e) {
throw new TorException(e);
} catch (IllegalBlockSizeException e) {
throw new TorException(e);
} catch (BadPaddingException e) {
throw new TorException(e);
}
}