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