Fortinet white logo
Fortinet white logo

Script Reference Guide

B32_enc(str)

B32_enc(str)

Encodes a string input in Base32 and outputs the result in string format.

Syntax

B32_enc(str);

Arguments

Name Description

str

The string which will be calculated.

Events

Applicable in all events.

Example

when HTTP_REQUEST {
str = “abc”
en = b32_enc(str)
}

Supported Version

FortiADC version 5.2.x and later.

B32_enc(str)

B32_enc(str)

Encodes a string input in Base32 and outputs the result in string format.

Syntax

B32_enc(str);

Arguments

Name Description

str

The string which will be calculated.

Events

Applicable in all events.

Example

when HTTP_REQUEST {
str = “abc”
en = b32_enc(str)
}

Supported Version

FortiADC version 5.2.x and later.