I need deterministic random number generation that I can save and restore at a later point. Annoyingly, java.util.Random doesn’t allow you to get the current seed, only to set one. java.security.SecureRandom seems to let you get the current seed, so that’s one alternative but I’m worried about the speed implications.
Anyone have any other alternatives? (Or, anyone used SecureRandom for this and found that it’s fine?)
Thanks.