advertisement

Find Code  Advanced Search   

browse free vb code
Submit Code
ASP,  HTML, and XML
Database
Dates  and Math
Files  and Directories
Forms  and Controls
Lists,  Collections, and Arrays
Miscellaneous
Multimedia/Games
Office/VBA
Network/Internet
Registry
Screen/Graphics
String  Manipulation
System/API
Windows  2000/XP
VB.NET/ASP.NET



advertisement
Hashing (One Way Encryption) Algorithm

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

Version Compatibility:  Visual Basic 5   Visual Basic 6

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.

This code has been viewed 98966 times.

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


Declarations:

Code:

No Text Boxes

Sponsored Links


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers