@vnodes/crypto
    Preparing search index...

    Function otp

    • Generates a cryptographically secure numeric OTP.

      Parameters

      • length: number = 6

        The number of digits (default is 6)

      Returns string

      A string representation of the OTP