-
Notifications
You must be signed in to change notification settings - Fork 0
Home
W. "Mac" McMeans edited this page Feb 12, 2022
·
1 revision
This is the standard algorithm for generating a uniformly chosen random permutation. This version permits Sattolo cycles as well as seeded/keyed shuffles and unshuffles. For cryptography purposes, an external cryptographically secure RNG should be specified to produce deterministic, seeded shuffling and unshuffling.