Hacker News new | ask | show | jobs
Kensler's permute(): stateless, constant-time shuffled iteration (andrew-helmer.github.io)
3 points by joshcsimmons 17 days ago
1 comments

At the end of the day, the most important part is to have that first bijective hash function that maps U->U.

Once you have that one analytical permutation, the rest is just using a (pseudo-)random seed to have a (pseudo-)random permutation.