3 ms·
It is also the only reason to use this algorithm :) It's a pretty important requirement that I don't think the author emphasized enough. If you want them shuff
by tripzilch 7y ago
It is also the only reason to use this algorithm :) It's a pretty important requirement that I don't think the author emphasized enough.
If you want them shuffled (or don't care if they're shuffled), better use a permutation function.
BTW there are much faster permutation functions than cryptographic ones (you don't need the security aspect for this application). Look to modern PRNGs.