CheckSum Methods
The CheckSum type exposes the following members.
Methods
Name | Description | |
---|---|---|
Generate(String) |
Generates a cryptographic hash for a given string using the MD5 algorithm. This method is designed
to convert the input text into a hash value represented as an integer. If the input string is null
or empty, 0 will be returned.
|
|
Generate(String, HashMethod) |
Generates a cryptographic hash for a given string using a specified hashing algorithm. If the input string is null, 0 will be returned.
|
|
GenerateBinary |
Generates a binary checksum from a given source.
|
|
GenerateSqlChecksum |
Generate a hash for a given string, if the string is null 0 will be returned
|
|
GetHashBytes |
Gets the hash bytes restricted or padded to a given size.
|
|
Validate(String, String) |
Validates that the hashes match
|
|
Validate(String, Int32) |
Validate if the strings matches a SQL checksum
|