sha512(str)
Calculates the SHA-512 of a string input and stores the result in an intermediate variable.
Syntax
sha512(str);
Arguments
| Name | Description |
|---|---|
|
str |
The string which will be calculated. |
Events
Applicable in all events.
Example
when HTTP_REQUEST {
str1 = “abc”
str2 = sha512(str1)
}
Supported Version
FortiADC version 4.8.x and later.