Fortinet white logo
Fortinet white logo

Script Reference Guide

Md5_str(str)

Md5_str(str)

Calculates the MD5 of a string input and stores the results in an intermediate variable, in some cases you need a version to deal with it.

Syntax

Md5_str(str);

Arguments

Name Description

str

The string which will be calculated.

Events

Applicable in all events.

Example

when HTTP_REQUEST {
md5 = md5_str(input);     --input can be a cert in DER format
}

Supported Version

FortiADC version 4.8.x and later.

Md5_str(str)

Md5_str(str)

Calculates the MD5 of a string input and stores the results in an intermediate variable, in some cases you need a version to deal with it.

Syntax

Md5_str(str);

Arguments

Name Description

str

The string which will be calculated.

Events

Applicable in all events.

Example

when HTTP_REQUEST {
md5 = md5_str(input);     --input can be a cert in DER format
}

Supported Version

FortiADC version 4.8.x and later.