Options
All
  • Public
  • Public/Protected
  • All
Menu

Class OtpKeyGenerator

Otp key generator.

Hierarchy

  • OtpKeyGenerator

Index

Methods

generate

  • Generate key with default size;

    Returns OtpKey

  • Generate key

    Parameters

    • keySize: number

    Returns OtpKey

getAlgorithm

  • getAlgorithm(): string
  • Returns string

Static create

  • Creates an instance of OtpKeyGenerator.

    Returns OtpKeyGenerator

  • Creates an instance of OtpKeyGenerator.

    Parameters

    • algorithm: string

    Returns OtpKeyGenerator

Generated using TypeDoc