You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (Jira)" <ji...@apache.org> on 2026/03/24 13:09:00 UTC

[jira] [Updated] (PDFBOX-6181) Create SecureRandom object only once

     [ https://issues.apache.org/jira/browse/PDFBOX-6181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tilman Hausherr updated PDFBOX-6181:
------------------------------------
    Component/s: Crypto

> Create SecureRandom object only once
> ------------------------------------
>
>                 Key: PDFBOX-6181
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-6181
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Crypto
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>            Priority: Minor
>
> Last year I played with findbugs and one of the findings was that SecureRandom should be used statically and not create a new instance for every file. For now, I'll do this only in the StandardSecurityHandler.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org