Numeric-sequence-from-hash. GP Appendix F eq (F.2). seqFromHash(l, h) : ℍ → ⟦ℕ_{2^32}⟧_l Generates l pseudorandom 32-bit naturals from hash h using Blake2b.
5.7. Utility
def
def
Jar.Crypto.fisherYatesShuffle.{u_1} {α : Type u_1} [Inhabited α] (s : Array α) (r : Array Nat) : Array αJar.Crypto.fisherYatesShuffle.{u_1} {α : Type u_1} [Inhabited α] (s : Array α) (r : Array Nat) : Array α
Fisher-Yates shuffle with numeric randomness source. GP Appendix F eq (F.1). F(s, r) : ⟦T⟧l × ⟦ℕ⟧{l:} → ⟦T⟧_l Selection variant: pick element at random index j from working copy, place it in output[i], fill gap at j with last remaining element.