Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4    Statistic  

Encryption.DecryptContainerBlowfish

Decrypts container value with Blowfish engine.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Encryption 2.9 Yes Yes Yes Yes Yes

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

Parameters

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

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 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 for new projects.

Examples

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

Created 18th August 2014, last changed 11st July 2018


Encryption.DecryptContainerAES   -   Encryption.EncryptAES

Feedback: Report problem or ask question.




Links
MBS FileMaker blog