Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "helpers/crypto"

Index

Functions

decode

  • decode(base64Text: string): string

decrypt

  • decrypt(text: any, iv: any, passphrase: string): string

encode

  • encode(text: string): string

encrypt

  • encrypt(text: string, passphrase: string): { encrypted: string; iv: string }
  • Parameters

    • text: string
    • passphrase: string

    Returns { encrypted: string; iv: string }

    • encrypted: string
    • iv: string

Generated using TypeDoc