-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CryptoStreamFactory creates sympathetic chunking OutputStreams
For detailed analysis of the problem, see #586 CipherOutputStream appears to perform _very_ poorly on large buffers, but substantially better when data is segmented into small chunks which can be done by looping over the original buffer. With this in place, the openssl wrappeer no longer provides any benefit over JCE.
- Loading branch information
1 parent
c9e2a9c
commit 29147be
Showing
2 changed files
with
62 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters