forked from openrs2/openrs2
parent
1a19c24dcd
commit
353b8f0834
@ -0,0 +1,8 @@ |
||||
package dev.openrs2.common.crypto |
||||
|
||||
import java.security.SecureRandom |
||||
|
||||
private val threadLocal = ThreadLocal.withInitial { SecureRandom() } |
||||
|
||||
val secureRandom: SecureRandom |
||||
get() = threadLocal.get() |
Loading…
Reference in new issue