Encryption.DecryptContainerBlowfish
-----------------------------------

Decrypts container value with Blowfish engine.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Encryption](component_Encryption.md) | [2.9](newinversion29.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

### Deprecated

This function was [deprecated](deprecated.md). Use [Encryption.Cipher](EncryptionCipher.md) instead.

MBS( "Encryption.DecryptContainerBlowfish"; Key; Value { ; iv } ) 

**MBS**( **"Encryption.DecryptContainerBlowfish";** /\* Decrypts container value with Blowfish engine. \*/  
**$Key**; /\* The key you want to use.e.g. "Hello" \*/   
**$Value**; /\* The container value to use.e.g. $inputData \*/   
**$iv**) /\* Optional; The initial vector as a text with up to 16 bytes length.e.g. "1234567890ABCDEF" \*/ 

### Parameters

| 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 |

### Result

Returns error or decrypted container value.

### Description

Decrypts container value with Blowfish engine.  
The function expects you to use the same key as encryption and a container value produced by the [Encryption.EncryptContainerBlowfish](EncryptionEncryptContainerBlowfish.md) function. The function does not store the key, but once the data is decrypted it can decide if they make sense and return an error about a wrong key if data is looking strange.  
For blowfish the key length is limited to 72 characters.  
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](EncryptionCipher.md) for new projects.  
### Examples

Encrypt and Decrypt:

 Set Variable \[ $key ; Value: "Hello" \]  
Set Variable \[ $encryptedData ; Value: MBS ( "[Encryption.EncryptContainerBlowfish](EncryptionEncryptContainerBlowfish.md)"; $key ; $inputData ) \]  
Set Variable \[ $decryptedData ; Value: MBS ( "Encryption.DecryptContainerBlowfish"; $key ; $encryptedData ) \]  
### See also

- [Encryption.Cipher](EncryptionCipher.md)
- [Encryption.DecryptContainerAES](EncryptionDecryptContainerAES.md)
- [Encryption.EncryptContainerBlowfish](EncryptionEncryptContainerBlowfish.md)

### Example Databases

- [Encryption and Hash/Encrypt Containers](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Encryption%20and%20Hash/Encrypt%20Containers.shtml#3ScriptAnchor_)

### Blog Entries

- [MBS Filemaker Plugin, version 2.9pr7](https://www.mbsplugins.de/archive/2012-09-11/MBS_Filemaker_Plugin_version_2/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 18th August 2014 , last changed 24th February 2026

  
[Encryption.DecryptContainerAES](EncryptionDecryptContainerAES.md) - [Encryption.DigestNames](EncryptionDigestNames.md)

[HTML Version](EncryptionDecryptContainerBlowfish.shtml)