Y
Hacker News
new
|
ask
|
show
|
jobs
by
cobaltoxide
1037 days ago
That doesn't seem like a good way to generate "random" numbers, since it will only produce numbers with exactly two prime factors.
1 comments
amenghra
1037 days ago
Correct. It will almost never produce an even number, so there's already one bit of entropy lost. It will also never produce lots of other numbers.
link
nemo8551
1037 days ago
Thanks all, I hadn’t considered that but we do only use it for silly things and nothing work related but it’s worth a consideration.
link