Fortinet white logo
Fortinet white logo

Script Reference Guide

Md5_hex(str)

Md5_hex(str)

Returns the MD5 value in hex as a string.

Syntax

Md5_hex(str);

Arguments

Name Description

str

The string which will be calculated.

Events

Applicable in all events.

Example

when HTTP_REQUEST {
str1 = “abc”
str2 = md5_hex(str1)
}

Supported Version

FortiADC version 4.8.x and later.

Md5_hex(str)

Md5_hex(str)

Returns the MD5 value in hex as a string.

Syntax

Md5_hex(str);

Arguments

Name Description

str

The string which will be calculated.

Events

Applicable in all events.

Example

when HTTP_REQUEST {
str1 = “abc”
str2 = md5_hex(str1)
}

Supported Version

FortiADC version 4.8.x and later.