Xceed Encryption Library Documentation
Hasher Sample Application for VB6
Samples > Hasher Sample Application for VB6

Description

This sample demonstrates how to hash a file or a block of memory data using different kinds of hashing methods.

Project path

Project path: SAMPLES\VISUAL BASIC 6\HASHER

Project file name: HASHER.VBP

Demonstrates

Properties: HashSize, HashValue and HashingMethod

Methods: Hash and ReadFile

How to use

First, choose what you want to hash (file or message) by selecting the right radio button.

For file hashing, specify the file to hash by entering the path and filename or by selecting one using the "..." button. For memory buffer hashing, specify the message to hash by entering it in the text box.

Next, click on the Hash button to calculate the hash which will be shown in the "Hash value" text box.

The Option button allows you the specify the hashing method and the hash size generated.