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: 10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4   11.5   12.0    Statistic    FMM    Blog  


Encrypts container value with Blowfish engine.

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


This function was deprecated. Use Encryption.Cipher instead.

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


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


Returns error or encrypted container value.


Encrypts container value with Blowfish engine.
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.
For blowfish the key length is limited to 72 characters.
Deprecated. Please move to Encryption.Cipher for new projects.


Encrypt and Decrypt:

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

See also

Example Databases

Blog Entries

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

Encryption.EncryptContainerAES - EnvironmentVariables.ClearValue

Feedback: Report problem or ask question.

MBS Xojo Plugins

Start Chat