ao-js-sdk - v0.4.0
    Preparing search index...

    Class SeededRandom

    Seeded Random Number Generator using secure cryptographic hash functions Compatible with both browser and Node.js environments

    Implements

    Index

    Constructors

    Methods

    • Generates a random integer between min (inclusive) and max (exclusive)

      Parameters

      • min: number

        The minimum value (inclusive)

      • max: number

        The maximum value (exclusive)

      Returns Promise<number>

      Promise A random integer in the specified range