Container functions

Container functions calculate, manipulate, and report on data in container fields.

Function Purpose

Base64Decode

Returns either container or text content from text encoded in Base64 format.

Base64Encode

Returns data as text in Base64 format.

Base64EncodeRFC

Returns data as text in the specified Base64 format.

CryptAuthCode

Returns a binary HMAC (keyed-hash message authentication code) using the specified cryptographic hash algorithm.

CryptDecrypt

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

CryptDecryptBase64

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

CryptDigest

Returns a binary hash value generated by the specified cryptographic hash algorithm.

CryptEncrypt

Encrypts data with the specified key and returns container data.

CryptEncryptBase64

Encrypts data with the specified key and returns text in Base64 format.

CryptGenerateSignature

Generates the digital signature of the data.

CryptVerifySignature

Verifies whether a digital signature is valid for the data.

GetContainerAttribute

Returns the file metadata of the specified container field.

GetHeight

Returns the height, in pixels, of the content in a container field that holds images.

GetLiveText

Returns the text found in the image of the specified container field using the text-recognition algorithm.

GetThumbnail

Returns a thumbnail image of the content in a container field, according to a specified height and width.

GetWidth

Returns the width, in pixels, of the content in a container field that holds images.

HexDecode

Returns either container or text content from text encoded in hexadecimal format.

HexEncode

Returns data as text in hexadecimal format.

ReadQRCode

Returns as text the value of a QR code in a container field.

TextDecode

Returns text decoded from container data using the specified character encoding.

TextEncode

Returns a text file as container data from text using the specified character encoding and line endings.

VerifyContainer

Returns 0 (false) if container data was changed or deleted outside the FileMaker Platform; otherwise, returns 1 (true).