Skip to main content

Posts

Showing posts with the label Hash

Validating Data Integrity with Hashes using .Net

Validating Data Integrity with Hashes:             Hashes can be used to generate code that cross pond to specific data or file. But you can’t reproduce data from the hash. All hash algorithms inherit from System.Security.Cryptography.HashAlgorithms . These algorithms include: MD5 Represents the abstract class from which all implementations of the MD5 hash algorithm inherit. HashSize =128   RIPEMD160 Represents the abstract class from which all implementations of the MD160 hash algorithm inherit. HashSize=128 SHA1 HashSize = 160 bits SHA256 HashSize = 256 bits SHA384 HashSize = 384 bits SHA512 HashSize = 512 bits Keyed Hash Algorithms :                 All Keyed Hash Algorithms inherit from System.Security.Cryptography.KeyedHashAlgorithm which in turn i...