Is SecureRandom thread safe?

Posted by Yishai on Stack Overflow See other posts from Stack Overflow or by Yishai
Published on 2009-09-22T17:53:35Z Indexed on 2010/04/28 4:53 UTC
Read the original article Hit count: 352

Filed under:
|

Is SecureRandom thread safe? That is, after initializing it, can access to the next random number be relied on to be thread safe? Examining the source code seems to show that it is, and this bug report seems to indicate that its lack of documentation as thread safe is a javadoc issue. Has anyone confirmed that it is in fact thread safe?

© Stack Overflow or respective owner

Related posts about java

Related posts about thread-safety