Reference > Functions reference > Container functions > CryptDecryptBase64


Decrypts Base64-encoded text with the specified key and returns text or container data.


CryptDecryptBase64 ( text ; key )


text - any text expression or text field that contains data returned by the CryptEncryptBase64 function.

key - any expression or field that contains the same key that was used to encrypt text.

Data type returned 

text, container

Originated in 

FileMaker Pro 16.0


This function works the same as the CryptDecrypt function, except that it accepts Base64-encoded text returned by the CryptEncryptBase64 function.


This function is not supported in runtime solutions and returns "?".

Example 1 

Returns This needs protection, the text that was encrypted using CryptEncryptBase64 with the same key.

CryptDecryptBase64 (
CryptEncryptBase64 ( "This needs protection" ; "My secret password" ) ;
"My secret password"

Related topics 

Functions reference (category list)

Functions reference (alphabetical list)

About formulas

About functions

Defining calculation fields

Using operators in formulas