This commit is contained in:
zzz
2016-10-21 15:20:35 +00:00
parent 9b27251473
commit cee3ebbb23
22 changed files with 48 additions and 48 deletions

View File

@ -195,7 +195,7 @@ public class AESInputStream extends FilterInputStream {
throw new IOException("Error decrypting - no data to decrypt");
if (_decryptedSize != 0)
throw new IOException("wtf, decrypted size is not 0? " + _decryptedSize);
throw new IOException("decrypted size is not 0? " + _decryptedSize);
_context.aes().decrypt(_encryptedBuf, 0, _encryptedBuf, 0, _key, _lastBlock, BLOCK_SIZE);
DataHelper.xor(_encryptedBuf, 0, _lastBlock, 0, _encryptedBuf, 0, BLOCK_SIZE);
@ -467,4 +467,4 @@ public class AESInputStream extends FilterInputStream {
}
//try { Thread.sleep(5000); } catch (Throwable t) {}
}
}
}