Encrypts data with the specified key and returns container data.
CryptEncrypt(data;key)
data
- any text expression or field to encrypt.
key
- any text expression or field as the key to encrypt data
with.
container
FileMaker Pro 16.0
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. This function uses the PBKDF2 algorithm to convert the key
parameter into a cryptographic key. This key is used to encrypt data
using the AES-GCM authenticated encryption algorithm at the 128-bit level. The returned file includes an encrypted SHA256 digest of data
, which is used to validate the data during decryption.
•This function is not supported in runtime solutions and returns "?".
Returns container data in a file named encrypted.data.
CryptEncrypt ( "This needs protection" ; "My secret password" )