|
|
|
|
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).
The hash functions are as follows:
| | HashCheckFile | Checks the Hash of a file for a specific type of algorithm. | HashCheckString | Checks the Hash of a character string for a specific type of algorithm. | HashFile | Calculates the Hash of a file according to a specific algorithm. | HashString | Calculates 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:
|
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 - ...
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|