PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
WLanguage procedure called by HashCheckString
Procedure ("Callback") called by HashCheckString when checking the hash. This procedure is used to get the hash result.
This procedure must be a browser procedure.
Example
sHash is string = "9F 04 F4 1A 84 85 14 16 20 50 E3 D6"
HashCheckString(HA_SHA_160, "abc", HexaToBuffer(sHash), HashCheckString_Callback)
 
INTERNAL PROCEDURE HashCheckString_Callback(bRes boolean)
IF bRes = False THEN Trace("Error during verification")
END
Syntax
HashCheckString_Callback(<Result>)
<Result>: Boolean
  • True if the result of hashing the string with the specified algorithm corresponds to the <Hash> parameter of HashCheckString,
  • False otherwise.
Minimum version required
  • Version 25
Comments
Click [Add] to post a comment