# SmartCipher Task Parameters

CFS has import tasks to encrypt and decrypt files using Micro Focus Voltage SmartCipher.

IMPORTANT: You can only encrypt and decrypt files that are managed by SmartCipher. CFS sends requests to the SmartCipher server. Each request contains the UNC path of a file to encrypt or decrypt. SmartCipher performs the encryption or decryption on the specified file and does not return the data to CFS.

IMPORTANT: The SmartCipher API requires that the file to encrypt or decrypt is specified by UNC path. If you are configuring a File System Connector to provide documents to CFS, ensure that you configure the File System Connector with a UNC path so that the document references (which are sent to SmartCipher) are UNC paths.

## Decrypt Files

To decrypt files that have been encrypted by SmartCipher, use the `SmartCipherDecrypt` task.

NOTE: SmartCipher decrypts the file in its original location (to request decryption, CFS sends the document reference to the SmartCipher server). The decrypted data is not returned to CFS and, even if decryption is successful, CFS cannot process the document content.

    [ImportTasks]
    Pre0=SmartCipherDecrypt:SmartCipherSettings

    [SmartCipherSettings]
    ApiURL=SmartCipherServer/API/CxAPI.svc/
    PreSharedKey=...

## Encrypt Files

To encrypt files using SmartCipher, use the `SmartCipherEncrypt` task.

    [ImportTasks]
    Pre0=SmartCipherEncrypt:SmartCipherSettings

    [SmartCipherSettings]
    ApiURL=SmartCipherServer/API/CxAPI.svc/
    PreSharedKey=...
    OrganisationGUID=...
    RuleId=...

_FT_HTML5_bannerTitle.htm