---
url: /flow/guide/scripting-reference/functions/encryption/md5hash.md
---

# MD5Hash

## Declaration

`Function MD5Hash(Input : String): String;`

### Example

```pascal
procedure OnMapEvent(var Value:Variant);
begin
Value := MD5Hash('cameron'); //value will be 'uzb+qsRteqq0GBOLV4/X4A=='
end;
```

## Description

Returns the MD5 hash of the Input string. This hash will be base64 encoded.
