|Examples||Mac & Win||Server||Client||Guides||Statistic||FMM||Blog||Deprecated||Old|
Calculated MD5 hash of given text.
|Hash||2.7||✅ Yes||✅ Yes||✅ Yes||✅ Yes||✅ Yes|
|text||The text to process.||"Hello World"|
|Flags||Various flags you can combine by addition.
Pass 1 for getting result Base64 encoded instead of Hex encoded.
Pass 2 if input data is Hex encoded and plugin should decode it first.
Pass 8 for base64URL encoding. (new in v10.3)
Returns MD5 hash.
DescriptionCalculated MD5 hash of given text.
Text is converted to UTF-8 to make sure the text encoding doesn't change the hash value.
Hashes are used to store a fingerprint of some data. When hashes are not equal, the data is probably also not equal.
This function is good to make hashes for passwords. You don't save the password in your database, but only the hash. On login, you calculate the hash for the password entered by the user and compare the hash with the stored one. This way the database only contains hashes. And it's unlikely someone finds the password given the hash, except for easy cases like "hello" where google will tell you the text for the hash.
To make hashes more secure, use a prefix/suffix like the user id or simply your application name. This way even hello as a password will be quite impossible to recover from the hash.
SHA-512 is stronger than MD5.
Calculate hash of password:
FileMaker 16 vs. Plugin:
- Version 10.3
- MBS FileMaker Plugin, version 10.3pr1
- MBS Filemaker Plugin, version 4.2pr1
- MBS Filemaker Plugin 2.7 Release notes
- MBS Filemaker Plugin, version 2.7pr4
This function is free to use.
Created 18th August 2014, last changed 20th June 2020