Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

DecryptString

  • DecryptString(encryptedStr: string, password: string, algorithm?: string): string
  • since

    2.0.7

    version

    2020-07-11

    Parameters

    • encryptedStr: string
    • password: string

      Password used to generate key

    • algorithm: string = "aes-256-cbc"

    Returns string

EncryptString

  • EncryptString(str: string, password: string, algorithm?: string): string
  • since

    2.0.7

    version

    2020-07-11

    Parameters

    • str: string

      some clear text data

    • password: string

      Password used to generate key

    • algorithm: string = "aes-256-cbc"

    Returns string

GenerateEncryptPassword

  • GenerateEncryptPassword(keySize?: number, ivSize?: number): string
  • since

    2.0.7

    version

    2020-07-11

    Parameters

    • keySize: number = 32
    • ivSize: number = 16

    Returns string

Legend

  • Variable
  • Function
  • Function with type parameter
  • Type alias
  • Interface
  • Interface with type parameter
  • Enumeration
  • Class

Generated using TypeDoc