Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MD5 VB.NET code
Message
De
24/01/2014 10:27:36
 
 
À
24/01/2014 04:19:47
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01592356
Message ID:
01592387
Vues:
37
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform