Fixed stuff
This commit is contained in:
@ -1,4 +1,8 @@
|
||||
// Fisher-Yates shuffle
|
||||
/**
|
||||
* CSPRNG Fisher-Yates shuffle.
|
||||
*
|
||||
* Only works on lists up to 255 elements.
|
||||
*/
|
||||
function cryptoShuffle(l) {
|
||||
for (let i = l.length - 1; i > 0; i--) {
|
||||
let value = new Uint8Array([0]);
|
||||
|
Reference in New Issue
Block a user