Nemo_Sum wrote:I'm new to Java and object oriented programming in general, so I may have bitten off a bit more than I can chew with my current project. I was wondering what you all knew about the MATH.random method. I'm assuming it uses a seed, but I can't find the approximate length of the seeds, or any other details that might be vaguely helpful really. Basically, the program I'm working on simulates a dice roll using MATH.random, but I'd like to hack my program and see if I'm able to predict the outcome of the dice roll before it happens. Ultimately, I'm wondering what security flaws are presented specifically by using MATH.random to generate my rolls. If you have any insights or can direct me to any information that might be useful, I'd really appreciate the help.
Users browsing this forum: No registered users and 0 guests