Crc32(str)
Returns the crc32 check value of the string, or 0 if it is an empty string.
Syntax
crc32(str);
Arguments
| Name | Description |
|---|---|
|
str |
The string which will be calculated. |
Events
Applicable in all events.
Example
when HTTP_REQUEST {
str = "any string for crc32 calculation"
crc = crc32(str);
debug("crc is %d\n", crc);
}
Supported Version
FortiADC version 5.2.x and later.