Audit.Hash
----------

Hashes the field/value.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Audit](component_Audit.md) | [11.1](newinversion111.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "Audit.Hash"; Value ) 

**MBS**( **"Audit.Hash";** /\* Hashes the field/value. \*/  
**$Value**) /\* The value to hash.e.g. "Hello World" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Value | The value to hash. | "Hello World" |

### Result

Returns hash or error.

### Description

Hashes the field/value.  
Same as we use for FieldHash field in audit.  
This is basically an uppercase MD5 of the UTF-8 text of the value given.  
### Examples

Hash it:

 MBS ("Audit.Hash"; 123)  
<small>  
Example result: 202CB962AC59075B964B07152D234B70</small>### Blog Entries

- [MBS FileMaker Plugin 11.1](https://www.mbsplugins.de/archive/2021-03-16/MBS_FileMaker_Plugin_111/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 27th January 2021 , last changed 27th January 2021

  
[Audit.GetUUIDFields](AuditGetUUIDFields.md) - [Audit.SetAuditLogTableName](AuditSetAuditLogTableName.md)

[HTML Version](AuditHash.shtml)