B64_dec(str)
Decodes a Base64 encoded string input and outputs the result in string format.
Syntax
B64_dec(str);
Arguments
| Name | Description |
|---|---|
|
str |
The string which will be calculated. |
Events
Applicable in all events.
Example
when HTTP_REQUEST {
result = b64_dec(input);
str=”test string”
a=12
de=b64_dec(“%s, 123 %d”, str, a);
}
Supported Version
FortiADC version 5.2.x and later.