pgp-encryption icon indicating copy to clipboard operation
pgp-encryption copied to clipboard

Encryption is slow with armoredoutputstream

Open j0kkeri opened this issue 2 years ago • 0 comments

Awesome code you've made but I've noticed when encrypting the file with ARMOR ON, it was reeeeally slow. Resolved it by wrapping the OutputStream into BufferedOutputStream before wrapping to ArmoredOutputStream. In my test case 20min turned into 8s with about 100mb file.

j0kkeri avatar Feb 26 '24 10:02 j0kkeri