Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
Encryption.EncryptAES
Encrypts data with with AES engine in CBC mode.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| Encryption | 2.7 | Yes | Yes | Yes | Yes | Yes |
Deprecated
This function was deprecated. Use Encryption.Cipher instead.
MBS( "Encryption.EncryptAES"; key; text { ; iv } ) More
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| key | The key you want to use. | "Hello" | |
| text | The text to encrypt. | "Hello World" | |
| iv | The initial vector as a text with up to 16 bytes length. | "1234567890ABCDEF" | Optional |
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
Example Databases
Blog Entries
- MBS FileMaker Plugin, version 8.5pr4
- MBS Filemaker Plugin 2.7 Release notes
- MBS Filemaker Plugin, version 2.7pr4
Release notes
- Version 8.5
- Fixed problem with Encryption.EncryptAES function if byte size is not a multiply of 16.
Created 18th August 2014, last changed 12nd June 2020
Encryption.DigestNames - Encryption.EncryptBlowfish
Feedback: Report problem or ask question.
Links
MBS Xojo PDF Plugins