Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MD5 VB.NET code
Message
From
24/01/2014 10:27:36
 
 
To
24/01/2014 04:19:47
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01592356
Message ID:
01592387
Views:
35
>The output of an MD5 hash is a byte[16]. If you want chars, you'll need to convert the bytes to hex, but this doubles the size
>You do not need to convert to hex if you use a binary(16) field in sql server
>
>The class here http://msdn.microsoft.com/en-us/library/system.security.cryptography.md5(v=vs.110).aspx
>
>has a method ComputeHash() with 3 overloads http://msdn.microsoft.com/en-us/library/system.security.cryptography.md5_methods(v=vs.110).aspx
>
>There's an example at the bottom.
>
>To compute the hash for a file you would open the file and pass the stream to ComputeHash()

Thanks
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform