Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

Ensuring Data Integrity with Hash Codes

A hash value is a numeric value of a fixed length that uniquely identifies data. Hash values are used with digital signatures because hash values represent a large amount of data as a much smaller numeric value. You can efficiently sign a hash value instead of signing the larger value. Hash values are also useful for verifying the integrity of data sent through insecure channels. The hash value of received data can be compared to the hash value of data as it was sent to determine whether the data was altered.

The topics in this section (Generating a Hash and Verifying a Hash) describe how to generate hash codes using the classes in the System.Security.Cryptography namespace.

Community Additions

ADD
Show:
© 2015 Microsoft