# smartcipher_encrypt

The `smartcipher_encrypt` function sends a request to a Micro Focus Voltage SmartCipher server, to encrypt a file.

## Syntax

    smartcipher_encrypt( file, sectionName )

## Arguments

Argument | Description
--- | ---
`file` | (string) The UNC path to the file to encrypt.
`sectionName` | (string) The name of a section in the CFS configuration file that contains configuration parameters required for encryption (for example the SmartCipher API URL). For information about the parameters that you must set, see SmartCipher Task Parameters.

## Returns

Boolean. Returns `true` if SmartCipher reports that encryption is successful.

© Copyright 2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm