GetHoHoDkBytes() 공개 정적인 메소드

Compute the segment HoD.
public static GetHoHoDkBytes ( byte kp, byte hod, dwHashAlgoV2_Values hashAlgo ) : byte[]
kp byte The Kp data
hod byte The segment HoD
hashAlgo dwHashAlgoV2_Values The HoHoDk hash algorithm.
리턴 byte[]
 public byte[] GetSegmentId(int segmentIndex)
 {
     return(PccrcUtility.GetHoHoDkBytes(
                segments[segmentIndex].SegmentSecret,
                segments[segmentIndex].SegmentHashOfData,
                dwHashAlgo));
 }
 public byte[] GetSegmentId(int chunkIndex, int segmentIndex)
 {
     return(PccrcUtility.GetHoHoDkBytes(
                chunks[chunkIndex].chunkData[segmentIndex].SegmentSecret,
                chunks[chunkIndex].chunkData[segmentIndex].SegmentHashOfData,
                dwHashAlgo));
 }