Method | Description | |
---|---|---|
ComputeHoHoDk ( byte kp, byte hod ) : byte[] |
Compute the segment HoD.
|
|
GenerateContentInformation ( byte data ) : |
Generate the content information structure use the file data.
|
|
GenerateContentInformation ( string filePath ) : |
Generate the content information structure use the file data.
|
|
HashGeneration ( ) : System |
Initializes a new instance of the HashGeneration class.
|
|
HashGeneration ( byte secret, dwHashAlgo_Values algo ) : System |
Initializes a new instance of the HashGeneration class with server secret and hash algorithm.
|
|
HashGeneration ( string secret, dwHashAlgo_Values algo ) : System |
Initializes a new instance of the HashGeneration class with server secret and hash algorithm.
|
Method | Description | |
---|---|---|
ComputeBlockHash ( byte blockData ) : byte[] |
Compute the block data to block hash data.
|
|
ComputeHod ( List |
Compute the segment HoD.
|
|
ComputeKp ( byte hod ) : byte[] |
Compute the segment secret.
|
public ComputeHoHoDk ( byte kp, byte hod ) : byte[] | ||
kp | byte | The Kp data |
hod | byte | The segment HoD |
return | byte[] |
public GenerateContentInformation ( byte data ) : |
||
data | byte | The file data. |
return |
public GenerateContentInformation ( string filePath ) : |
||
filePath | string | The file path. |
return |
public HashGeneration ( byte secret, dwHashAlgo_Values algo ) : System | ||
secret | byte | The binary array of the server secret. |
algo | dwHashAlgo_Values | The hash algorithm. |
return | System |
public HashGeneration ( string secret, dwHashAlgo_Values algo ) : System | ||
secret | string | The unicode string of the server secret. |
algo | dwHashAlgo_Values | The hash algorithm. |
return | System |