Fortinet white logo
Fortinet white logo

Script Reference Guide

Sha1(str)

Sha1(str)

Returns the SHA-1 calculated for the specified string.

Syntax

Sha1(str);

Arguments

Name Description

str

A string which will be calculated.

Events

Applicable in all events.

Example

when HTTP_REQUEST {
result = sha1(input)
}

Supported Version

FortiADC version 4.8.x and later.

Sha1(str)

Sha1(str)

Returns the SHA-1 calculated for the specified string.

Syntax

Sha1(str);

Arguments

Name Description

str

A string which will be calculated.

Events

Applicable in all events.

Example

when HTTP_REQUEST {
result = sha1(input)
}

Supported Version

FortiADC version 4.8.x and later.