Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Methods

decryptFields

  • decryptFields(fields: Map<string, string>, passwords?: Map<string, string>): Promise<Map<string, string>>

decryptFile

  • decryptFile(file: string, filedName: string, password?: string): Promise<string>
  • Decrypt file. Base64 string

    Parameters

    • file: string

      base64 encrypted data

    • filedName: string

      key of field for auto-generation password for decrypt

    • Optional password: string

      optional if you already have password for file. apply password instead auto-generation password.

    Returns Promise<string>

    decrypted file Base64 data.

decryptMessage

  • decryptMessage(senderPk: string, encrypted: string): Promise<string>

Generated using TypeDoc