Create an Account
username: password:
 
  MemeStreams Logo

How To: Hash Data with Salt (C#/VB.NET)

search

Lost
Picture of Lost
My Blog
My Profile
My Audience
My Sources
Send Me a Message

sponsored links

Lost's topics
Arts
Business
Games
Health and Wellness
Home and Garden
Miscellaneous
Current Events
Recreation
Local Information
Science
Society
Sports
Technology

support us

Get MemeStreams Stuff!


 
How To: Hash Data with Salt (C#/VB.NET)
Topic: Technology 11:41 pm EDT, Apr  9, 2006

How To: Hash Data with Salt (C#/VB.NET)

The code below demonstrates how to hash data and verify hashes. It supports MD5, SHA-1, SHA-256, SHA-384, and SHA-512 hashing algorithms. To help reduce the risk of dictionary attacks, the code appends random bytes (so-called "salt") to the original plain text before generating hashes. Please keep in mind that salt can only help against prebuilt dictionaries. If an intruder gets access to your system and uses a brute force attack, salt will not provide much value. Code samples are provided in C# and Visual Basic.NET. IMPORTANT: DATA HASHES CANNOT BE "DECRYPTED" BACK TO PLAIN TEXT.

How To: Hash Data with Salt (C#/VB.NET)



 
 
Powered By Industrial Memetics
RSS2.0