Skip to main content

http.hash.md5(dataToHash)

Performs an MD5 hash function

Availability

Agent

Parameters

Name Type Description
dataToHash String or blob The data to which the hash function will be applied

Returns

Blob — the hashed data (16 bytes)

Description

This method performs an MD5 hash on the input data. Because the returned data is a blob, it is not uncommon to Base64 encode it.

Example Code

A simple example of MD5 hashing.