Fortinet white logo
Fortinet white logo

Script Reference Guide

B32_enc_str(str)

B32_enc_str(str)

Encodes a string input in Base32 and outputs the result in string format. In some cases you need a version to deal with it.

Syntax

B32_enc_str(str);

Arguments

Name Description

str

The string which will be calculated.

Events

Applicable in all events.

Example

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

Supported Version

FortiADC version 5.2.x and later.

B32_enc_str(str)

B32_enc_str(str)

Encodes a string input in Base32 and outputs the result in string format. In some cases you need a version to deal with it.

Syntax

B32_enc_str(str);

Arguments

Name Description

str

The string which will be calculated.

Events

Applicable in all events.

Example

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

Supported Version

FortiADC version 5.2.x and later.