public IntegrityHierarchicalMasterHashSource(IntegrityHierarchicalStorageSink sink)
 {
     this.m_sink = sink;
     this.Size   = (long)sink.MasterHashSize;
 }
Esempio n. 2
0
 public IntegrityHierarchicalHashCalculatedSource(ISource source)
 {
     this.Size     = source.Size;
     this.m_source = (ISource) new AlignedSource(source, HierarchicalIntegrityVerificationStorage.GetHashBlockSize());
     this.m_sink   = new IntegrityHierarchicalStorageSink(this.Size);
 }