ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Hash functions
  • Overview
  • 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
Overview
Hashing is used to summarize a file or a character string. This summary is called Hash. A single "hash" can be associated with a text in natural language: when the initial text is modified, the corresponding hash is also modified.
The hashing is mainly used to:
  • check the integrity of a document when it is transmitted (the document is transmitted with the result of the hash).
  • electronically sign a document (by encoding the hash result with a key for example).
Hash functions
The hash functions are as follows:
HashCheckFileChecks the Hash of a file for a specific type of algorithm.
HashCheckStringChecks the Hash of a character string for a specific type of algorithm.
HashFileCalculates the Hash of a file according to a specific algorithm.
HashStringCalculates the Hash of a character string according to a specific algorithm.
These functions are used to manage simple hashes as well as hashes with message authentication.
Related Examples:
The Hash functions Unit examples (WINDEV): The Hash functions
[ + ] Using the hashing functions.
The HashFile and HashString functions are used to calculate a Hash key for a string or for a file.
This Hash key is used to:
- Check whether the file is consistent after a transfer for example
- Find file duplicates
- ...
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/23/2023

Send a report | Local help