Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Decrypts data with AES engine in CBC mode.

Component Version macOS Windows Linux Server iOS SDK
Encryption 2.7 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes


This function was deprecated. Use Encryption.Cipher instead.

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


Parameter Description Example Flags
key The key you want to use. "Hello"
text The text to decrypt. Should be hex encoded bytes from Encryption.EncryptAES. "1234567809ABCDEF"
iv The initial vector as a text with up to 16 bytes length. "1234567890ABCDEF" Optional


Returns decrypted text.


Decrypts data 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.
The plugin has no idea to verify if the key is correct. You need to make sure that you check if result is correct, e.g. by using a hash to verify if result is the expected value.

Deprecated. Please move to Encryption.Cipher for new projects.


Simply decrypt a text:

MBS( "Encryption.DecryptAES"; $key; $encrypted )

See also

Example Databases

Blog Entries

This function checks for a license.

Created 18th August 2014, last changed 12nd June 2020

Encryption.CipherNames - Encryption.DecryptBlowfish