Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PassPhraseGenerator

A secure random passphrase generator

note

For secure randomization seedrandom is used.

Hierarchy

  • PassPhraseGenerator

Index

Constructors

constructor

Methods

generate

  • generate(): string[]

generatePassPhrase

  • generatePassPhrase(seed?: any[]): Promise<string[]>
  • Creates a secure randomized passphrase

    Parameters

    • Default value seed: any[] = []

      An arbitrary array of elements used for seeding

    Returns Promise<string[]>

    The secret twelve-worded passphrase

reSeed

  • reSeed(seed: any): void