2 Decrypt
nique_372 редактировал(а) эту страницу 2026-04-19 11:21:55 -05:00

Utils Tab: Decryption

From this sub-tab you can decrypt files previously encrypted inside the base folder configured in the General tab.


Parameters

  • Method: Decryption algorithm to use. Must match the method used when encrypting:
Method Required key length
AES 128 16 characters
AES 256 32 characters
DES 7 characters
  • JSON config file: JSON file that defines which files will be decrypted. Same format as the Encryption tab with incluyed and excluyed. Use the Browse button to select it, or the ? button to load a default template.
{
    "incluyed": [
        "*_median_iqr.csv.enc",
        "*.onnx.enc",
        "idx.txt.enc",
        "Features\\"
    ],
    "excluyed": []
}
  • incluyed: Patterns of encrypted files that will be decrypted.

  • excluyed: Patterns of files that will not be decrypted even if they match an incluyed pattern.

  • Output extension: Extension of the resulting decrypted file. For more information see the DecryptFile documentation at: https://forge.mql5.io/nique_372/MQLArticles/src/branch/main/Utils/Encrypt/README.md

  • Key: Decryption key. Must be exactly the same key used when encrypting. Has an 👁 button to show or hide the value.


Buttons

  • Browse: Opens the selector to choose the configuration JSON.
  • ?: Loads a default template with the correct structure.
  • Decrypt: Runs the decryption on the base folder. Before running it will ask if you want to delete the encrypted files after decrypting. The button changes to Decrypting... while the operation is in progress.

Make sure you have configured the base folder in the General tab before running.