Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MD5 VB.NET code
Message
From
27/01/2014 09:18:15
 
 
To
27/01/2014 02:25:35
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:
01592438
Views:
34
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform