Reference > Functions reference > Container functions > CryptDecryptBase64
 
CryptDecryptBase64
Purpose 
Decrypts Base64-encoded text with the specified key and returns text or container data.
Format 
CryptDecryptBase64(text;key)
Parameters 
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
Description 
This function works the same as the CryptDecrypt function, except that it accepts Base64-encoded text returned by the CryptEncryptBase64 function.
Notes 
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