Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MD5 VB.NET code
Message
De
27/01/2014 09:18:15
 
 
À
27/01/2014 02:25:35
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:
01592438
Vues:
36
>And also
>(1) Dispose() ( or with using) is never called in the example
>SHA256Managed derives from HashAlgorithm http://msdn.microsoft.com/en-us/library/system.security.cryptography.hashalgorithm(v=vs.110).aspx
>
>            SHA256 mySHA256 = SHA256Managed.Create();
>
>
>(2) Since the property CanReuseTransform returns true http://msdn.microsoft.com/en-us/library/System.Security.Cryptography.SHA256(v=vs.110).aspx
>When you need to calculate the hash for a list of files (as per the example) you can instantiate SHA256Managed only once
>
>
>Same applies to MD5 or anything else deriving from HashAlgorithm

Thanks, this is useful to know.
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