Function encryptFile

  • Name

    encryptFile

    Summary

    Encrypts file with the public key.

    See

    Learn more about encryption here.

    Returns

    A string containing the encrypted file.

    Parameters

    • file: File

      File to encrypt.

    • publicPGPKey: string

      Public Key to encrypt the file.

    Returns Promise<string>

Generated using TypeDoc