Encrypt VI
- Updated2025-07-30
- 2 minute(s) read
Encrypts data using the key associated with the client handle. Associate a key with a client handle using the ConfigKey VI. This functionality only works with NI Web servers. Use the OpenHandle VI to open a client handle.

Inputs/Outputs
client handle
—
client handle specifies the client handle to associate with the Web request. Use client handles to wire together multiple HTTP Client VIs while preserving authentication credentials, HTTP headers, and cookies. Client handles are not required when making independent Web requests without persistent data such as headers or credentials.
host
—
host specifies the host name associated with the key.
data
—
data specifies the data to encrypt.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
client handle out
—
client handle out returns the client handle associated with the Web request. Use client handles to wire together multiple HTTP Client VIs while preserving authentication credentials, HTTP headers, and cookies. Client handles are not required when making independent Web requests without persistent data such as headers or credentials.
encrypted data
—
encrypted data returns the encrypted data.
error out
—
error out contains error information. This output provides standard error out functionality. |
client handle
—
host
—
error in (no error)
—
client handle out
—
encrypted data
—
error out
—