News for hackers. Stuff that matters.
Re:Problems emerge for a unified /dev/*random by Dylan16807 on Wednesday March 30, 2022 @04:23PM (#30860326)
Yes it has to be odd and it has to be the size asked for. I don't count checking that as math.

If you're particularly worried about the top couple digits of the number being undersized you could return fewer bits or use a wider multiplier.

There are no comments on this comment yet.