Thanks a lot for this issue. It should be fixed ASAP.
I was thinking about a different approach. What do you think ?
1) Change the SecureRandom to be a class field
2) Change how the SecureRandom is initialized (syncronized) and use pre-configured time interval. That way we just check the time during each invocation to see if we need to re-initialize the SecureRandom or not
3) During the SecureRandom initialization we use the generateSeed method to get a random seed. And use this seed for each fresh instance of SecureRandom.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
Thanks a lot for this issue. It should be fixed ASAP.
I was thinking about a different approach. What do you think ?
1) Change the SecureRandom to be a class field
2) Change how the SecureRandom is initialized (syncronized) and use pre-configured time interval. That way we just check the time during each invocation to see if we need to re-initialize the SecureRandom or not
3) During the SecureRandom initialization we use the generateSeed method to get a random seed. And use this seed for each fresh instance of SecureRandom.