ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Hash functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
WLanguage procedure called by HashCheckString
Procedure ("Callback") called by HashCheckString when checking the hash algorithm. 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

Last update: 05/26/2022

Send a report | Local help