Connector Framework Server 25.3
Connector Framework Server Help

# smartcipher_encrypt

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

## Syntax

    smartcipher_encrypt( doc, sectionName )

## Arguments

Argument | Description
--- | ---
`doc` | (LuaDocument) A LuaDocument that represents the file to encrypt. CFS sends the document reference to the SmartCipher API, so the reference must be the UNC path of a file managed by SmartCipher.
`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 2025 Open Text
Version 25.3 | Last updated July 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Connector Framework Server 25.3

Topic Title: smartcipher_encrypt