Hashing (One Way Encryption) Algorithm

Category:
String Manipulation
Type:
Snippets
Difficulty:
Advanced
Author:
Simon Johnson

Version Compatibility:

More information:

=========================
Epsilon Hashing Algorithm
==========================
Performs a one-way encryption operation on string of length x. i.e. The encrypted text can not be reversed to find the original.

There are a number of situations in which one-way encryption provides added security as compared to two-way encryption. For instance, to protect passwords, you can compare a typed password to a hash stored on a network or a database. By contrast, using two way encryption (e.g., whereby an encrypted string can be decrypted) someone who gains access to the decrypt key can steal the password. Hashing is also used in private-public key signature solutions.

Instructions: Copy the declarations and code below and paste directly into your VB project.

Declarations:

Code: