add JavaSecureRand method