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

Encryption.EncryptAES

Encrypts data with with AES engine in CBC mode.

Component: Encryption
Version: 2.7
Mac OS X: Yes
Windows: Yes
Server: Yes
FileMaker Cloud: Yes

MBS( "Encryption.EncryptAES"; key; text { ; iv } )

Parameters

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

Result

Returns encrypted text encoded as hex.

Description

Encrypts data with with AES engine in CBC mode.
This function uses UTF-8 for key, text and iv parameters.
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

Simply encrypt a text:

MBS( "Encryption.EncryptAES"; $key; $text )

See also


Encryption.DecryptContainerBlowfish   -   Encryption.EncryptBlowfish

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins - Pfarrgemeinde St. Arnulf Nickenich