Options
All
  • Public
  • Public/Protected
  • All
Menu

Used for dealing with Meeco secrets - used for user authentication and login

Hierarchy

  • Secrets

Index

Constructors

constructor

Methods

Static derivePDKFromSecret

  • derivePDKFromSecret(userEnteredPassword: string, secret: string): Promise<SymmetricKey>
  • Given a user's Secret and Passphrase - derive the Passphrase Derived Key (used to decrypt their Key Encryption Key)

    Parameters

    • userEnteredPassword: string
    • secret: string

    Returns Promise<SymmetricKey>

Static generateSecret

  • generateSecret(username: string): string

Static srpPasswordFromSecret

  • srpPasswordFromSecret(userEnteredPassword: string, secret: string): Promise<string>

Static usernameFromSecret

  • usernameFromSecret(secret: string): string

Generated using TypeDoc