Israeli Bank Importer - v1.44.5
    Preparing search index...

    Function decryptBuffer

    • Decrypts the ciphertext in an IEncryptedConfig using AES-256-GCM.

      Parameters

      • data: IEncryptedConfig

        The parsed IEncryptedConfig object.

      • key: Buffer

        32-byte AES key buffer derived from the user password.

      • aad: Buffer = NO_AAD

        The authenticated data given at encryption; empty for a config file.

      Returns string

      The decrypted UTF-8 string.

      ConfigurationError when the payload, key or authenticated data do not match.