xconspirisist
New member
- Joined
- Jun 4, 2006
- Messages
- 1
- Programming Experience
- 10+
I would like to be able to compute the hash of a file. (MD5/SHA1).
Am I correct that the most appropriate approach would be to manually read the file into an input stream, and then pass that to a "System.Security.Cryptography.HashAlgorithm"?
If anyone could post and sample/psudo code, that would be massively appreciated.
Am I correct that the most appropriate approach would be to manually read the file into an input stream, and then pass that to a "System.Security.Cryptography.HashAlgorithm"?
If anyone could post and sample/psudo code, that would be massively appreciated.