Data.HashFunction 3.1.1
DHF
|
Common interface to represent a hash value. More...
Public Member Functions | |
BitArray | AsBitArray () |
Converts the hash value to a bit array. | |
string | AsHexString () |
Converts the hash value to a hexadecimal string. | |
string | AsHexString (bool uppercase) |
Converts the hash value to a hexadecimal string. | |
string | AsBase64String () |
Converts the hash value to a the base64 string. | |
Properties | |
int | BitLength [get] |
Gets the length of the hash value in bits. | |
byte[] | Hash [get] |
Gets resulting byte array. | |
Common interface to represent a hash value.
string Data.HashFunction.IHashValue.AsBase64String | ( | ) |
Converts the hash value to a the base64 string.
Implemented in Data.HashFunction.Core.Utilities.HashValue.
BitArray Data.HashFunction.IHashValue.AsBitArray | ( | ) |
Converts the hash value to a bit array.
Implemented in Data.HashFunction.Core.Utilities.HashValue.
string Data.HashFunction.IHashValue.AsHexString | ( | ) |
Converts the hash value to a hexadecimal string.
Implemented in Data.HashFunction.Core.Utilities.HashValue.
string Data.HashFunction.IHashValue.AsHexString | ( | bool | uppercase | ) |
Converts the hash value to a hexadecimal string.
uppercase | true if the result should use uppercase hex values; otherwise false . |
Implemented in Data.HashFunction.Core.Utilities.HashValue.
|
get |
Gets the length of the hash value in bits.
The length of the hash value in bits.
Implemented in Data.HashFunction.Core.Utilities.HashValue.
|
get |
Gets resulting byte array.
The hash value.
Implementations should coerce the input hash value to be BitLength size in bits.
Implemented in Data.HashFunction.Core.Utilities.HashValue.