MD5 ( )

Function stats

Average user rating
37
392
9999
Support
FileMaker 10.0 +
Date posted
07 April 2016
Version
1
Recursive function
No

Author Info
 Fabrice

74 functions

Average Rating 4.4

author_avatar



 

Function overview

Prototype

MD5  ( _something )


Parameters

_something  string or binary (container)


Description

Tags:  md5   encryption  

- the function name does not mention 'container' (any string can be encrypted in MD5)
- the output is lower case as everywhere but in FileMaker
- MD5 ( "" ) returns d41d8cd98f00b204e9800998ecf8427e as everywhere but in FileMaker (where it returns ?)

Requires FileMaker 14

Examples

Sample input

MD5 ( "" )
MD5 ( "Hello world" )


Sample output

d41d8cd98f00b204e9800998ecf8427e
3e25960a79dbc69b674cd4ec67a72c62

 

Function code

/* MD5 ( _something )

by Fabrice Nordmann, 1-more-thing
@1morethingtweet

fixes FileMaker implementation of MD5


v1 - Apr. 2016
- the function name does not mention 'container' (any string can be encrypted in MD5)
- the output is lower case as everywhere but in FileMaker
- MD5 ( "" ) returns d41d8cd98f00b204e9800998ecf8427e as everywhere but in FileMaker (where it returns ?)

Requires FileMaker 14
*/

Case ( IsEmpty ( _something ) ; "d41d8cd98f00b204e9800998ecf8427e" ; Lower ( GetContainerAttribute ( _something ; "MD5" )))

// ===================================
/*

    This function is published on FileMaker Custom Functions
    to check for updates and provide feedback and bug reports
    please visit http://www.fmfunctions.com/fid/392

    Prototype: MD5( _something )
    Function Author: Fabrice (http://www.fmfunctions.com/mid/37)
    Last updated: 07 April 2016
    Version: 1

*/
// ===================================

 

 

 

 

 

 

 

Top Tags

Text Parsing  (33)
List  (31)
Date  (28)
XML  (26)
Format  (23)
Sql  (22)
Dev  (20)
Debug  (17)
Interface  (15)
Layout  (15)
Text  (14)
Variables  (12)
Layout Objects  (11)
Filter  (11)
Design  (10)
Array  (7)