AutoMovie API
    Preparing search index...

    Function philoxAutoMovie4x32

    • The Philox4x32-10 counter-based block function (Salmon, Moraes, Dror and Shaw, "Parallel random numbers: as easy as 1, 2, 3", SC 2011; the Random123 reference). A 128-bit counter and a 64-bit key map to 128 statistically independent bits by ten rounds of two 32 x 32 -> 64 multiplications with the published multipliers 0xD2511F53 and 0xCD9E8D57 and the Weyl key bumps 0x9E3779B9 and 0xBB67AE85. It is a bijection of the counter for each key, so distinct counters never repeat a block, and it is pure: the block of a counter depends on the counter and the key alone, never on call order.

      Parameters

      • counter: readonly [number, number, number, number]

        Four unsigned 32-bit counter words, least significant first.

      • key: readonly [number, number]

        Two unsigned 32-bit key words.

      Returns [number, number, number, number]

      Four unsigned 32-bit output words.