CryptEncrypt

Encrypts data with the specified key and returns container data.

Format 

CryptEncrypt ( data ; key )

Parameters 

data - any text expression or field to encrypt.

key - any text expression or field as the key to encrypt data with.

Data type returned 

container

Originated in version 

16.0

Description 

Use the CryptEncrypt and CryptDecrypt functions to encrypt and decrypt field data. CryptEncrypt accepts text or container data and returns container data as a binary file named encrypted.data.

See FileMaker Security Guide.

Example 1 

Returns container data in a file named encrypted.data.

Copy
CryptEncrypt ( "This needs protection" ; "My secret password" )