Your version: XXA15005
Content of this document will be soon extended.
This page is also available for:
Report & Queries
The 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 everyday 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 result of the hash with a key for instance).
The hash functions are as follows:
Checks the Hash of a file for a specific type of algorithm.
Checks the Hash of a character string for a specific type of algorithm.
Calculates the Hash of a file according to a specific algorithm.
Calculates the Hash of a character string according to a specific algorithm.
These functions are used to manage a simple hash as well as a hash with message authentication.
Unit example (WinDev): Hash functions
[ + ]
Using the Hashing functions
This example presents the use of 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
- Search for file duplicates
Minimum required version:
Last update: 10/31/2012 |
Send a report
Please login to annotate
Terms of service
PC SOFT Forums
PC SOFT FAQ
PC SOFT Blogs
Online help services
PC SOFT on Facebook
Official Supplier of the French Olympic Preparation
Registered trademarks. Copyright ©2009-2013 PC SOFT. All rights reserved
This website has been developed with
Search in progress, please wait...
Annotate page 'Hash functions'
Accept annotations service
general usage terms