Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    Statistic  

Encryption.EncryptContainerAES

Encrypts container value with AES engine in CFB mode.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Encryption 2.9 Yes Yes Yes Yes Yes

MBS( "Encryption.EncryptContainerAES"; key; value { ; iv } )

Parameters

Parameter Description Example value
key The key you want to use. "Hello"
value The container value to use. $inputData
iv Optional
The initial vector as a text with up to 16 bytes length.
"1234567890ABCDEF"

Result

Returns error or encrypted container value.

Description

Encrypts container value with AES engine in CFB mode.
Input must be a container value (picture, file, PDF, movie or whatever you have). The encrypted data is returned as container value without file name.
Keys shorter than 128 bit, 192 bit or 256 bit length are padded with null bytes to right size. This means that only the first 32 characters are used at most.
Deprecated. Please move to Encryption.Cipher for new projects.

Examples

Encrypt and Decrypt:

set variable $key to "Hello"
set variable $encryptedData to MBS( "Encryption.EncryptContainerAES"; $key; $inputData )
set variable $decryptedData to MBS( "Encryption.DecryptContainerAES"; $key; $encryptedData )

See also

Example Databases


Encryption.EncryptBlowfish   -   Encryption.EncryptContainerBlowfish

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins