|
| |
Checksum() Function
Calculates a checksum. type can be either MD5 or SHA1, string is the Syntax:
Checksum(type,buffer,init_value)
Parameters:
type - Checksum type can be either SHA1 or MD5 buffer - buffer to calculate checksum for. The buffer can include variables. init_value - Initialization value. This paramater is ignored if type is MD5.
Remarks:
If buffer contains the %SOURCE% variable, a checkum will be performed on the HTML source code of the currently loaded page.
Example:
The following example uses the SHA1 algorithm required to query google for a page rank.
|