pjfanning commented on PR #385:
URL: https://github.com/apache/incubator-pekko/pull/385#issuecomment-1589215797

   @mdedetrich what would a generator that matched 'bare minimum random using 
SecureRandom seed' look like?
   
   Maybe something like?
   ```
         SecureRandom sr = SecureRandom.getInstance("SHA1PRNG"); // could be 
static?
         Random rnd = new Random(sr.nextLong());
   ```
   
   Something like that could be wrapped in a ThreadLocal - one that initializes 
with code like the one above.
   
   It's possible that this plain Random with a secure seed would be a 
reasonable compromise.
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to