math docs
    Preparing search index...

    Function create

    • Creates ISAAC64 PRNG state seeded with seed.

      ISAAC64 is a fast, high-quality generator with an enormous cycle length (~2^8295 on average). Bob Jenkins designed it to resist prediction, but it is not founded on cryptographic theory, so do not rely on it for cryptography — use the Web Crypto API for that.

      A seed of 0 reproduces the reference implementation's unseeded output.

      Parameters

      • seed: bigint = 0n

        the seed value (64-bit integer), defaults to 0n

      Returns isaac64.Isaac64

      state to pass to sample or next