You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "valerybokov (via GitHub)" <gi...@apache.org> on 2026/08/29 16:28:09 UTC
[PR] use SecurityHandler.encryptDataRC4(byte[], byte[], OutputStream) method [pdfbox]
valerybokov opened a new pull request, #505:
URL: https://github.com/apache/pdfbox/pull/505
We can call another encryptDataRC4 method to avoid allocating memory for ByteArrayInputStream.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org
Re: [PR] use SecurityHandler.encryptDataRC4(byte[], byte[], OutputStream) method [pdfbox]
Posted by "THausherr (via GitHub)" <gi...@apache.org>.
THausherr commented on PR #505:
URL: https://github.com/apache/pdfbox/pull/505#issuecomment-5463721309
Thank you, nice find. This will allow me to deprecate / remove that other method.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org
Re: [PR] use SecurityHandler.encryptDataRC4(byte[], byte[], OutputStream) method [pdfbox]
Posted by "asf-gitbox-commits (via GitHub)" <gi...@apache.org>.
asf-gitbox-commits closed pull request #505: use SecurityHandler.encryptDataRC4(byte[], byte[], OutputStream) method
URL: https://github.com/apache/pdfbox/pull/505
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org
Re: [PR] use SecurityHandler.encryptDataRC4(byte[], byte[], OutputStream) method [pdfbox]
Posted by "THausherr (via GitHub)" <gi...@apache.org>.
THausherr commented on PR #505:
URL: https://github.com/apache/pdfbox/pull/505#issuecomment-5463814455
Sadly it was too good to be true. Some weird error in my own thought.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org
Re: [PR] use SecurityHandler.encryptDataRC4(byte[], byte[], OutputStream) method [pdfbox]
Posted by "valerybokov (via GitHub)" <gi...@apache.org>.
valerybokov commented on PR #505:
URL: https://github.com/apache/pdfbox/pull/505#issuecomment-5463867096
> Sadly it was too good to be true. Some weird error in my own thought.
Do you mean it still used some were? Yeah. Maybe you will do it later with changed code.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org
Re: [PR] use SecurityHandler.encryptDataRC4(byte[], byte[], OutputStream) method [pdfbox]
Posted by "valerybokov (via GitHub)" <gi...@apache.org>.
valerybokov commented on PR #505:
URL: https://github.com/apache/pdfbox/pull/505#issuecomment-5463784269
> Thank you, nice find. This will allow me to deprecate / remove that other method.
Okay. There is no reason to use it.
As far as I understand, encryption class methods typically use streams rather than arrays. However, this is more my observation than definitive knowledge.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org