You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pirk.apache.org by "Tim Ellison (JIRA)" <ji...@apache.org> on 2016/07/14 08:55:20 UTC

[jira] [Created] (PIRK-2) Enhance Pallier acquisition of PRNG provider

Tim Ellison created PIRK-2:
------------------------------

             Summary: Enhance Pallier acquisition of PRNG provider
                 Key: PIRK-2
                 URL: https://issues.apache.org/jira/browse/PIRK-2
             Project: PIRK
          Issue Type: Bug
            Reporter: Tim Ellison
            Assignee: Tim Ellison


{{org.apache.pirk.encryption.Pallier}} has a hard coded requirement for the {{NativePRNG}} algorithm to be supplied by the {{SUN}} provider.  This causes the {{test.general.PaillierTest}} to fail on IBM's Java implementation.

The implementation should allow the provider to be configured by the java.security properties of the runtime to allow for provider optimizations, etc.

Furthermore, the instantiation of a provider is relatively (CPU) expensive, so reusing the PRNG is preferable to acquiring it each time a value is required.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)